Merged via squash. Prepared head SHA: 852469c82ff28fb0e1be7f1019f5283e712c4283 Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com> Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com> Reviewed-by: @altaywtf
16 lines
289 B
TypeScript
16 lines
289 B
TypeScript
import type { FailoverReason } from "./pi-embedded-helpers.js";
|
|
|
|
export type ModelCandidate = {
|
|
provider: string;
|
|
model: string;
|
|
};
|
|
|
|
export type FallbackAttempt = {
|
|
provider: string;
|
|
model: string;
|
|
error: string;
|
|
reason?: FailoverReason;
|
|
status?: number;
|
|
code?: string;
|
|
};
|