We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e4b60d commit c124579Copy full SHA for c124579
api/generation/qwen.py
@@ -240,9 +240,7 @@ def process_qwen_messages(
240
content = f"Thought: 我可以使用 {f_name} API。"
241
else:
242
content = f"Thought: I can use {f_name}."
243
-
244
- if func_call:
245
- content = f"\n{content}\nAction: {f_name}\nAction Input: {f_args}"
+
246
if messages[-1]["role"] == Role.USER:
247
messages.append(
248
ChatCompletionAssistantMessageParam(role="assistant", content=content.lstrip("\n").rstrip())
0 commit comments