大佬们请问这是什么问题啊
codex吧
全部回复
仅看楼主
level 3
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]
报错是这个
2026年09月12日 08点09分 1
level 9
阿里的百炼吗
2026年09月12日 08点09分 0
是的
2026年09月12日 08点09分
level 6
用的中转?
2026年09月12日 08点09分 2
只在cc switch上配置了一下api接口其他的什么都没弄
2026年09月12日 08点09分
level 3
只在cc switch上配置api接口,其他的什么都没配置
2026年09月12日 08点09分 3
level 9
可以解决。很简单
2026年09月12日 08点09分 4
怎么弄啊[泪]
2026年09月12日 08点09分
level 4
大哥们,手机验证码要咋过?跪求
2026年09月12日 09点09分 6
我没用手机验证码,用的是api
2026年09月12日 09点09分
可解决
2026年09月12日 10点09分
level 1
问ai啊,在这里问黄花菜都凉了[滑稽]
2026年09月12日 09点09分 7
level 1
问了gpt了,应该是接口问题,工具调用出错,你看看那个ccswitch的这个api设置的接口用的哪个
2026年09月12日 09点09分 8
额,不要用那个原生接口,用兼容接口然后开本地路由
2026年09月12日 09点09分
1