Skip to content

Commit 5393a34

Browse files
committed
fix goal text
1 parent 26f0abb commit 5393a34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/agentlab/agents/generic_agent_hinter/generic_agent_prompt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,11 @@ def time_for_caution():
108108
self.be_cautious = dp.BeCautious(visible=time_for_caution)
109109
self.think = dp.Think(visible=lambda: flags.use_thinking)
110110
self.hints = dp.Hints(visible=lambda: flags.use_hints)
111+
goal_str: str = goal[0]["text"]
111112
self.task_hint = TaskHint(
112113
use_task_hint=flags.use_task_hint,
113114
hint_db_path=flags.hint_db_path,
114-
goal=goal,
115+
goal=goal_str,
115116
hint_retrieval_mode=flags.task_hint_retrieval_mode,
116117
llm=llm,
117118
skip_hints_for_current_task=flags.skip_hints_for_current_task,

0 commit comments

Comments
 (0)