mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +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>"
|
||||
elif role == "tool":
|
||||
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})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue