mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-04 16:37:46 +08:00
feat(frontend): Responses WebSocket 配置与用量展示
provider 表单支持开启 Responses WebSocket;用量列表、状态与详情 区分 WebSocket 请求。
This commit is contained in:
@@ -574,6 +574,9 @@ async function pollActiveRequests() {
|
||||
record.is_stream = update.is_stream
|
||||
record.upstream_is_stream = update.is_stream
|
||||
}
|
||||
if (typeof update.is_websocket === 'boolean') {
|
||||
record.is_websocket = record.is_websocket === true || update.is_websocket
|
||||
}
|
||||
if (typeof update.client_is_stream === 'boolean') {
|
||||
record.client_is_stream = update.client_is_stream
|
||||
record.client_requested_stream = update.client_is_stream
|
||||
|
||||
Reference in New Issue
Block a user