[Feature]:Codex 接入 Agnes 模型时回复中途暂停/截断
Problem
目前我使用codex接入agnes模型对话时,Agnes回答一半就暂停了
Proposed solution
agnes上下文长一些,并且修改掉回答一半就终止的问题
Alternatives considered
No response
Additional context
No response
感谢您的反馈。为了方便我们进一步定位问题,麻烦您提供一些相关截图或日志信息,例如:
- Codex 中的完整报错或停止位置截图
- 使用的模型名称
- 当前请求的大致上下文长度 / 输入内容规模
- 是否在长对话、多文件或大段代码场景下出现
根据目前描述,这个问题大概率是由于请求内容超出了模型的上下文限制,导致回答在中途被截断或停止。我们会结合您提供的信息进一步排查,并评估是否需要优化长上下文场景下的处理逻辑。
Thank you for your feedback. To help us further investigate the issue, could you please provide some screenshots or logs, such as:
- A screenshot showing where the response stopped in Codex
- The model name you were using
- The approximate context length or input size
- Whether this happened during a long conversation, multi-file task, or large code context
Based on the current description, this is most likely caused by the request exceeding the model’s context limit, which may result in the response being truncated or stopping midway. We will review the additional information you provide and evaluate whether further optimization is needed for long-context scenarios.
我也有同样的问题
我也遇到了同样的问题,ccs开路由连接codex,压根跑不了长任务,隔几分钟就断一次,很致命。 而且未发现明显的报错,直接停掉。(这个不知道是ccs原因,还是模型状态码啥的没处理好……) 在ccs中的 使用统计--请求日志 里面的状态码都是200,按照之前的使用情况,如果发生异常是会有其他状态码的,比如 429,500 等。
─ Worked for 2m 30s ─ ─ Worked for 1m 43s ─
CC Switch :v3.17.0 codex: 0.144.4
@agnesai-admin
同问题,不知道搞定了嘛
请工程师用原生接口 Responses 试一下就可以解决,不是模型问题,是中转路由无法完美解决接口不统一的问题,特别是有思考模式时,基本不能用。 希望尽早提供Responses 原生接口。
已支持responses接口协议
我测试了国际站和中国站都不能使用 responses接口协议。 报错信息如下:(国际站和中国站 一样的报错信息)
***.BadRequestError: OpenAIException - {"error":{"message":"Invalid
JSON data: Failed to deserialize the JSON body into the target type:
tools[8].type: unknown variant namespace, expected one of
function, web_search_preview, code_interpreter, mcp at line 1
column 40703","type":"invalid_request_error","code":"json_parse_error"}}
请告知如何配置,谢谢!
AgnesAI-admin @.***> 于2026年9月2日周三 17:29写道:
agnesai-admin left a comment (AgnesAI-Labs/AgnesAI-Models#39) https://github.com/AgnesAI-Labs/AgnesAI-Models/issues/39#issuecomment-5507446469
已支持responses接口协议
— Reply to this email directly, view it on GitHub https://github.com/AgnesAI-Labs/AgnesAI-Models/issues/39?email_source=notifications&email_token=CADAW72TPN3A2534U6535G35M7SBNA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNJQG42DINRUGY42M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5507446469, or unsubscribe https://github.com/notifications/unsubscribe-auth/CADAW77LSJYVCF4UUIQ5KFD5M7SBNAVCNFSNUABGKJSXA33TNF2G64TZHMYTEMRVGM3DKNJWHE5US43TOVSTWNBXGUYDGMZSGI2TTILWAI . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/CADAW7YWZHTWPPJZNZSROZT5M7SBNA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNJQG42DINRUGY42M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJKTGN5XXIZLSL5UW64Y and Android https://github.com/notifications/mobile/android/CADAW7ZR77NADRBN6VYSDUD5M7SBNA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNJQG42DINRUGY42M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI. Download it today! You are receiving this because you commented.Message ID: @.***>