fix: rewrite vllm tool calls from reasoning content
This commit is contained in:
3
test/fixtures/vllm-xml-response.json
vendored
3
test/fixtures/vllm-xml-response.json
vendored
@@ -8,7 +8,8 @@
|
||||
"index": 0,
|
||||
"message": {
|
||||
"role": "assistant",
|
||||
"content": "<function=read>\n<parameter=path>\n/tmp/test.txt\n</parameter>\n</function>"
|
||||
"content": "",
|
||||
"reasoning_content": "<tool_call>\n{\"name\":\"read\",\"arguments\":{\"path\":\"/tmp/test.txt\"}}\n</tool_call>"
|
||||
},
|
||||
"finish_reason": "stop"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user