Fix usage replay model remapping

This commit is contained in:
RWDai
2026-03-17 17:56:06 +08:00
committed by fawney19
parent 1d72a8f9c1
commit a4505b1281
3 changed files with 233 additions and 9 deletions

View File

@@ -238,6 +238,18 @@ export interface ReplayResponse {
response_headers: Record<string, string>
response_body: Record<string, unknown>
response_time_ms: number
mapping?: {
source_model: string
original_target_model?: string | null
resolved_model: string
target_provider_id: string
target_provider: string
target_endpoint_id: string
target_api_format: string
replay_mode: string
mapping_applied: boolean
mapping_source: string
}
}
export interface ModelBreakdown {