From c5057e976796e774908426c9ada4f39332f63607 Mon Sep 17 00:00:00 2001 From: Dillon Laird Date: Fri, 19 Jul 2024 14:29:18 -0700 Subject: [PATCH] don't test multi plan on edit code --- vision_agent/tools/meta_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vision_agent/tools/meta_tools.py b/vision_agent/tools/meta_tools.py index a04f3f9f..0b53c801 100644 --- a/vision_agent/tools/meta_tools.py +++ b/vision_agent/tools/meta_tools.py @@ -99,7 +99,7 @@ def detect_dogs(image_path: str): fixed_chat_history.append({"role": "user", "content": chat}) try: - response = agent.chat_with_workflow(fixed_chat_history) + response = agent.chat_with_workflow(fixed_chat_history, test_multi_plan=False) code = response["code"] with open(code_file, "w") as f: f.write(code)