Skip to content

Commit

Permalink
use tester as debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Apr 26, 2024
1 parent c52df30 commit 665ee21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vision_agent/agent/agent_coder.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def chat(
for _ in range(self.max_turns):
code = write_program(question, feedback, self.coder_agent)
_LOGGER.info(f"code:\n{code}")
debug = write_debug(question, code, feedback, self.coder_agent)
debug = write_debug(question, code, feedback, self.tester_agent)
_LOGGER.info(f"debug:\n{debug}")
results = execute_tests(code, debug)
_LOGGER.info(
Expand Down

0 comments on commit 665ee21

Please sign in to comment.