mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 03:30:43 +00:00
16 lines
295 B
TypeScript
16 lines
295 B
TypeScript
import type { FailoverReason } from "./pi-embedded-helpers/types.js";
|
|
|
|
export type ModelCandidate = {
|
|
provider: string;
|
|
model: string;
|
|
};
|
|
|
|
export type FallbackAttempt = {
|
|
provider: string;
|
|
model: string;
|
|
error: string;
|
|
reason?: FailoverReason;
|
|
status?: number;
|
|
code?: string;
|
|
};
|