mirror of
https://github.com/katanemo/plano.git
synced 2026-06-23 15:38:07 +02:00
fix
This commit is contained in:
parent
05a63c2138
commit
cd90faf50c
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ class ArchBaseHandler:
|
||||||
content = f"<tool_call>\n{json.dumps(tool_calls[0]['function'])}\n</tool_call>"
|
content = f"<tool_call>\n{json.dumps(tool_calls[0]['function'])}\n</tool_call>"
|
||||||
elif role == "tool":
|
elif role == "tool":
|
||||||
role = "user"
|
role = "user"
|
||||||
content = f"<tool_response>\n{json.dumps(content)}\n</tool_response>"
|
content = f"<tool_response>\n\n</tool_response>"
|
||||||
|
|
||||||
processed_messages.append({"role": role, "content": content})
|
processed_messages.append({"role": role, "content": content})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue