feat(ops): enhance error observability with additional context fields and UI updates

This commit is contained in:
Ethan0x0000
2026-03-22 19:56:29 +08:00
parent 7cd3824863
commit bd8eadb75b
5 changed files with 135 additions and 9 deletions

View File

@@ -969,6 +969,13 @@ export interface OpsErrorLog {
client_ip?: string | null
request_path?: string
stream?: boolean
// Error observability context (endpoint + model mapping)
inbound_endpoint?: string
upstream_endpoint?: string
requested_model?: string
upstream_model?: string
request_type?: number | null
}
export interface OpsErrorDetail extends OpsErrorLog {