Skip to content

Commit 451ee22

Browse files
committed
Judge layer fix for tool calling models
1 parent 7925e4e commit 451ee22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

interpreter/core/llm/run_tool_calling_llm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def run_tool_calling_llm(llm, request_params):
6464
language = None
6565
code = ""
6666
function_call_detected = False
67+
accumulated_review = ""
68+
review_category = None
6769

6870
for chunk in llm.completions(**request_params):
6971
if "choices" not in chunk or len(chunk["choices"]) == 0:

0 commit comments

Comments
 (0)