Replies: 1 comment
|
同样遇到该问题 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
其实是两个bug:
reponse_format为{"type": "json_object"}时,Qwen3.5不能正常调用function calling。response_format,只是在system prompt里要求模型按照json schema的定义,使用json字符串输出时,无论我怎么调整提示词,模型的输出里都包含有```json开头结尾的markdown代码块格式,导致pydantic model报错。第一个bug在Qwen3系列模型里也存在。
第二个bug只出现在Qwen3.5模型,Qwen3系列参数大点的模型输出都是正常的。
All reactions