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.
2 parents e1733f9 + 4946ee3 commit f972ecbCopy full SHA for f972ecb
interpreter/core/llm/run_tool_calling_llm.py
@@ -66,7 +66,7 @@ def run_tool_calling_llm(llm, request_params):
66
if not any(
67
m
68
for m in request_params["messages"]
69
- if m.get("role") == "function" and m.get("tool_call_id") == tool_call_id
+ if m.get("role") == "tool" and m.get("tool_call_id") == tool_call_id
70
):
71
new_messages.append(
72
{"role": "tool", "tool_call_id": tool_call_id, "content": ""}
0 commit comments