feat: add parameter preprocessing audit trail

This commit is contained in:
2026-05-12 13:54:51 +08:00
parent 9ea83be718
commit b9c9f457e9
17 changed files with 2323 additions and 28 deletions
+18
View File
@@ -829,6 +829,24 @@ export interface GatewayTask {
updatedAt: string;
}
export interface GatewayTaskParamPreprocessingLog {
id: string;
taskId: string;
attemptId?: string;
attemptNo?: number;
modelType?: string;
platformId?: string;
platformModelId?: string;
clientId?: string;
changed: boolean;
changeCount: number;
actualInput?: Record<string, unknown>;
convertedOutput?: Record<string, unknown>;
changes?: Array<Record<string, unknown>>;
model?: Record<string, unknown>;
createdAt: string;
}
export interface GatewayTaskAttempt {
id: string;
taskId: string;