注意:选接口模型要选支持tools function的,能正确返回tool_calls的才能调起工具,否则都是白费token #692
Replies: 26 comments
-
qwq-32b |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
我试了一下没跑通 |
Beta Was this translation helpful? Give feedback.
-
API error: Error code: 400 - {'error': {'code': 'invalid_parameter_error', 'param': None, 'message': 'This model only support stream mode, please enable the stream parameter to access the model. ', 'type': 'invalid_request_error'}, |
Beta Was this translation helpful? Give feedback.
-
不支持,换 |
Beta Was this translation helpful? Give feedback.
-
百炼 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
百炼的目前都有问题 先不去折腾 |
Beta Was this translation helpful? Give feedback.
-
发现 qwen-plus 这个可以, 硅基的api调用太慢了,还是阿里云上的快一点 |
Beta Was this translation helpful? Give feedback.
-
硅基有免费的,也有赠费,选择多,免费的有点蠢,想体验好点,选满血版deepseek-v3要好很多 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
可以,只要api支持tools function就可以,如果你硬件好,装个lm studio,在本机上就能跑起来 |
Beta Was this translation helpful? Give feedback.
-
刚试着用硅基流动的v3,报API error: Error code: 400 - {'code': 20037, 'message': 'Function call is not supported for this model.', 'data': None}哎,我是使用的python3 run_flow.py |
Beta Was this translation helpful? Give feedback.
-
run_flow.py有个参数,强制某个参数返回,硅基流动的api都不支持,所以只能用python main.py |
Beta Was this translation helpful? Give feedback.
-
我用的是model = "qwq-plus" 依然不行 ,请问你是否自己加了什么其他参数吗? |
Beta Was this translation helpful? Give feedback.
-
我调用的是阿里云的接口,不是用的硅基的 |
Beta Was this translation helpful? Give feedback.
-
那很奇怪了 我也是阿里云 |
Beta Was this translation helpful? Give feedback.
-
是的,您指的是不是tool_choices这个参数?那哪个平台的api支持呢?只有openai的api支持吗 |
Beta Was this translation helpful? Give feedback.
-
已解决,换到阿里百炼的 qwen-plus 即可使用,感谢 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
这是我的配置 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
报这错误是模型不支持非流式输出模式,api参数stream必须要是true,也就是说,请求api的时候,它会像打字一样,一个个输出,不支持全部处理完后,一次性输出,所以你得换个支持非流式输出的模型才行! |
Beta Was this translation helpful? Give feedback.
-
我才发现我用的是QwQ,官网写了现在QwQ只支持流式,换成qwen-plus就好了hh |
Beta Was this translation helpful? Give feedback.
-
完整跑通硅基流动/silicon flow API + 注意事项可以参考:https://github.com/mannaandpoem/OpenManus/issues/146 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
注意:选接口模型要选支持tools function的,能正确返回tool_calls的才能调起工具,否则都是白费token
另外:
run_flow.py会加强制某个参数返回的参数,硅基流动的api都不支持,所以只能用python main.py
Beta Was this translation helpful? Give feedback.
All reactions