Skip to content

Commit ce866f6

Browse files
authored
Fix assignment of queries_for_hints variable
1 parent 593e104 commit ce866f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agentlab/agents/generic_agent_hinter/generic_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def get_action(self, obs):
117117
system_prompt = SystemMessage(dp.SystemPrompt().prompt)
118118

119119
# use those queries to retrieve from the database and pass to prompt if step-level
120-
queries_for_hints = (
120+
self.queries = (
121121
self._get_queries()[0] if getattr(self.flags, "hint_level", "episode") == "step" else None
122122
)
123123

0 commit comments

Comments
 (0)