Decouple stream cancellation and clarify failover rules
This commit is contained in:
@@ -780,6 +780,24 @@ export interface PriorityDemotionRecord {
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface PlatformPolicyEvent {
|
||||
id: string;
|
||||
taskId: string;
|
||||
platformId: string;
|
||||
platformModelId?: string;
|
||||
eventType: string;
|
||||
reason?: string;
|
||||
errorCode?: string;
|
||||
errorMessage?: string;
|
||||
category?: string;
|
||||
statusCode?: number;
|
||||
policySource?: string;
|
||||
policy?: string;
|
||||
policyRule?: string;
|
||||
matchedValue?: string;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface PlatformDynamicPriorityUpdateRequest {
|
||||
dynamicPriority?: number;
|
||||
reset?: boolean;
|
||||
@@ -798,6 +816,8 @@ export interface ModelRateLimitStatus {
|
||||
platformId: string;
|
||||
platformName: string;
|
||||
provider: string;
|
||||
platformStatus?: string;
|
||||
platformDisabledReason?: PlatformPolicyEvent;
|
||||
platformPriority: number;
|
||||
platformDynamicPriority?: number;
|
||||
platformEffectivePriority: number;
|
||||
|
||||
Reference in New Issue
Block a user