Skip to content

Commit f972ecb

Browse files
authored
Merge pull request #1362 from OpenInterpreter/development
Claude Support
2 parents e1733f9 + 4946ee3 commit f972ecb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interpreter/core/llm/run_tool_calling_llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def run_tool_calling_llm(llm, request_params):
6666
if not any(
6767
m
6868
for m in request_params["messages"]
69-
if m.get("role") == "function" and m.get("tool_call_id") == tool_call_id
69+
if m.get("role") == "tool" and m.get("tool_call_id") == tool_call_id
7070
):
7171
new_messages.append(
7272
{"role": "tool", "tool_call_id": tool_call_id, "content": ""}

0 commit comments

Comments
 (0)