大概几个问题,我描述一下。实在折腾不动了,想着用grok接入改个前端。结果codex配置自己折腾了几下跑通了,但是早上起来发现各种奇葩问题冒出来还都不一样。
重要信息:我接入的是黑白佬的grok接口。上班没办法折腾求佬友帮忙解决一下,我初步感觉是某个配置不兼容导致的。
问题1:上下文超过500K不会自动压缩,这个测试几次都是直接中断了。下面配置加了完全不生效。
model_context_window = 500000
model_auto_compact_token_limit = 400000
问题2:之前都没问题早上起来运行就出现tool调用不支持的问题。
CC Switch local proxy failed while handling Codex endpoint /responses. Provider: 黑白 grok 4.5; model: grok-4.5; upstream_status: HTTP 400; cause: 来自上游渠道的报错: Invalid tool arguments received, please pass back the unmodified tool arguments from the original model response: trailing characters at line 1 column 127 (request id: 2026071510084631435454GM7TFQVG)
问题3:重新开会话也是一样的情况。不知道什么鬼~
CC Switch local proxy failed while handling Codex endpoint /responses. Provider: 黑白 grok 4.5; model: grok-4.5; upstream_status: HTTP 400; cause: invalid character ‘{’ after top-level value (request id: 20260715102216979113703B13oAt1O)
贴一下我的配置:
disable_response_storage = true
model_provider = "xxx"
model = "grok-4.5"
review_model = "grok-4.5"
model_reasoning_effort = "max"
approval_policy = "never"
service_tier = "fast"
sandbox_mode = "danger-full-access"
network_access = "enabled"
web_search = "live"
model_supports_reasoning_summaries = true
model_context_window = 500000
model_auto_compact_token_limit = 400000
personality = "pragmatic"
[model_providers.xxx]
name = "xxx"
base_url = "https://ai.hybgzs.com/v1/chat/completions"
wire_api = "responses"
requires_openai_auth = true
[windows]
sandbox = "elevated"
[features]
skills = true
hooks = true
js_repl = false
multi_agent = true
goals = true
memories = true
[agents]
max_threads = 4
[tui.model_availability_nux]
"grok-4.5" = 4



