Skip to content

Commit

Permalink
debugger should not be json mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Sep 9, 2024
1 parent 8f6d8a5 commit c25f87f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vision_agent/agent/vision_agent_coder.py
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ def __init__(
else tester
),
debugger=(
OllamaLMM(model_name="llama3.1", temperature=0.0, json_mode=True)
OllamaLMM(model_name="llama3.1", temperature=0.0)
if debugger is None
else debugger
),
Expand Down Expand Up @@ -1045,9 +1045,7 @@ def __init__(
coder=AzureOpenAILMM(temperature=0.0) if coder is None else coder,
tester=AzureOpenAILMM(temperature=0.0) if tester is None else tester,
debugger=(
AzureOpenAILMM(temperature=0.0, json_mode=True)
if debugger is None
else debugger
AzureOpenAILMM(temperature=0.0) if debugger is None else debugger
),
tool_recommender=(
AzureSim(T.TOOLS_DF, sim_key="desc")
Expand Down

0 comments on commit c25f87f

Please sign in to comment.