mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 16:08:02 +08:00
feat(openai): add Live gateway support
This commit is contained in:
@@ -293,6 +293,9 @@ gateway:
|
||||
# Use this to avoid compact failures when newer models are not yet supported by the compact endpoint.
|
||||
# 当 compact 端点暂未支持更新模型时,可通过这里降级规避失败。
|
||||
openai_compact_model: "gpt-5.4"
|
||||
# ChatGPT Frameless Live 单会话硬上限(秒)。
|
||||
live:
|
||||
max_session_duration_seconds: 3600
|
||||
# OpenAI Responses WebSocket 配置(默认开启,可按需回滚到 HTTP)
|
||||
openai_ws:
|
||||
# 新版 WS mode 路由(默认关闭)。关闭时忽略账号级 WS mode(包括 http_bridge),保持 legacy ctx_pool 行为。
|
||||
|
||||
Reference in New Issue
Block a user