stream disconnected before completion: <400> InternalError.Algo.InvalidParameter: Agent invalid parameter.

Open 💬 1 comment Opened Jul 11, 2026 by xiaobaicai-ship-it

What version of the Codex App are you using (From “About Codex” dialog)?

使用的是windows appstore 的codex 桌面客户端,套用了第三方的codex++壳

What subscription do you have?

未订阅任何服务

What platform is your computer?

windows11

What issue are you seeing?

<img width="1201" height="606" alt="Image" src="https://github.com/user-attachments/assets/a918243c-f7e3-433d-93c7-bc0206ceb0ec" />

反馈 ID:019f4ff9-3048-7dd1-a427-1bcdbbda74b2
stream disconnected before completion: <400> InternalError.Algo.InvalidParameter: Agent invalid parameter. The error message is [1 validation error for Message
role
Value error, tool must be one of user,assistant,system,function [type=value_error, input_value='tool', input_type=str]
For further information visit https://errors.pydantic.dev/2.12/v/value_error]

What steps can reproduce the bug?

这是codex与ChatGPT合并更新后出现的问题,因为中国境内无法直接使用codex,我开了cc switch转接工具,接的是阿里云的千问的大模型

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗