mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-14 03:02:14 +03:00
fix(providers): enrich model_cooldown 429 body with retry_after ISO + credential count (#6460). Integrated into release/v3.8.47. (thanks @chirag127)
12 lines
249 B
TypeScript
12 lines
249 B
TypeScript
export interface ModelCooldownErrorPayload {
|
|
error: {
|
|
message: string;
|
|
type: "rate_limit_error";
|
|
code: "model_cooldown";
|
|
model?: string;
|
|
reset_seconds: number;
|
|
retry_after?: string;
|
|
credentials_cooling?: number;
|
|
};
|
|
}
|