Skip to content

Commit 6dccab8

Browse files
committed
WIP
1 parent 0c3fac9 commit 6dccab8

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

debug_gym/agents/guided_agent.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ def run(self, task_name=None, debug=False):
121121
llm_info = self.try_rewrite_and_rollback(llm, info)
122122
if llm_info.done:
123123
solved = llm_info
124-
msg = f"[green]*** The rewrite-only agent with {llm.model_name} managed to solve the task with the current context. ***[/green]"
125-
llm.logger.error(msg)
124+
msg = f"[green]The rewrite-only agent with {llm.model_name} managed to solve the task with the current context. [/green]"
125+
llm.logger.info(msg)
126126
else:
127-
msg = f"[red]*** The rewrite-only agent with {llm.model_name} failed to solve the task with the current context. ***[/red]"
128-
llm.logger.error(msg)
127+
msg = f"[red]The rewrite-only agent with {llm.model_name} failed to solve the task with the current context. [/red]"
128+
llm.logger.info(msg)
129129

130130
if solved is not None:
131131
llm_info = solved

scripts/config_mini_nightmare.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,4 @@ debug_5_agent:
4949
guided_agent:
5050
llm_name: "human"
5151
tools: ["pdb", "view", "rewrite", "eval"]
52-
# llms: ["gpt-4o", "gpt-4o-mini"]
53-
llms: ["gpt-4o-mini"]
52+
llms: ["gpt-4o", "gpt-4o-mini"]

0 commit comments

Comments
 (0)