feat(frontend): Responses WebSocket 配置与用量展示

provider 表单支持开启 Responses WebSocket;用量列表、状态与详情
区分 WebSocket 请求。
This commit is contained in:
AAEE86
2026-08-17 14:52:25 +08:00
committed by ZheFox
parent 621a528083
commit 1353d76e07
13 changed files with 97 additions and 0 deletions
+2
View File
@@ -33,6 +33,7 @@ export interface UsageRecord {
first_byte_time_ms?: number | null
end_to_end_time_ms?: number | null
end_to_end_first_byte_time_ms?: number | null
is_websocket?: boolean
created_at: string
updated_at?: string | null
response_time_updated_at?: string | null
@@ -570,6 +571,7 @@ export const usageApi = {
api_format?: string | null
endpoint_api_format?: string | null
is_stream?: boolean | null
is_websocket?: boolean | null
upstream_is_stream?: boolean | null
client_requested_stream?: boolean | null
client_is_stream?: boolean | null