This commit is contained in:
@@ -69,6 +69,14 @@ name = "OpenAI"
|
||||
base_url = "${CODEX_BASE_URL}"
|
||||
wire_api = "responses"
|
||||
requires_openai_auth = true
|
||||
# 自动压缩触发阈值(token数)
|
||||
model_auto_compact_token_limit = 100000 # 超过此值自动压缩
|
||||
# 上下文窗口大小(根据模型调整)
|
||||
model_context_window = 128000
|
||||
# 压缩后保留的最小上下文
|
||||
model_compact_min_keep_tokens = 20000
|
||||
# 自动压缩开关(默认true)
|
||||
model_auto_compact = true
|
||||
EOF
|
||||
|
||||
RUN cat > /root/.codex/auth.json <<EOF
|
||||
|
||||
Reference in New Issue
Block a user