You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I solve it through myself, just like give model a system message. I think 'parallel_tool_calls' might change the input of the model, maybe I could change it to solve this promblem!
Model Series
Qwen2.5
What are the models used?
Qwen2.5-72B-Instruction
What is the scenario where the problem happened?
vllm
Is this a known issue?
Information about environment
vllm>0.0.0
Log output
Description
Steps to reproduce
This happens to Qwen2.5-72B-Instruct
The problem can be reproduced with the following steps:
curl --location --request POST '*****'
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)'
--header 'Content-Type: application/json'
--data-raw '{
"model": "Qwen2.5",
"stream": true,
"parallel_function_calls":false,
"messages": [
{
"role": "user",
"content": "查一下西安和北京的天气"
}
],
"stream_options":{"include_usage": true},
"tools": [
{
"type": "function",
"function": {
"name": "查天气",
"description": "根据城市名查询天气",
"parameters": {
"properties": {
"city": {
"type": "string",
"description": "城市名"
}
},
"type": "object"
}
}
}
]
}'
Expected results
The results are expected to be call one tools
Attempts to fix
I have tried several ways to fix this, including:
The text was updated successfully, but these errors were encountered: