Skip to content

Commit d1cd785

Browse files
format
1 parent d554ab0 commit d1cd785

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/agentlab/agents/hint_use_agent/generic_agent.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ def _init_hints_index(self):
272272
try:
273273
if self.flags.hint_type == "docs":
274274
if self.flags.hint_index_type == "direct":
275-
print("WARNING: Hint index type 'direct' is not supported for docs. Using 'sparse' instead.")
275+
print(
276+
"WARNING: Hint index type 'direct' is not supported for docs. Using 'sparse' instead."
277+
)
276278
self.flags.hint_index_type = "sparse"
277279
if self.flags.hint_index_type == "sparse":
278280
import bm25s
@@ -327,7 +329,9 @@ def _get_task_hints(self) -> list[str]:
327329

328330
if self.flags.hint_type == "docs":
329331
if self.flags.hint_index_type == "direct":
330-
print("WARNING: Hint index type 'direct' is not supported for docs. Using 'sparse' instead.")
332+
print(
333+
"WARNING: Hint index type 'direct' is not supported for docs. Using 'sparse' instead."
334+
)
331335
self.flags.hint_index_type = "sparse"
332336
if not hasattr(self, "hint_index"):
333337
print("WARNING: Hint index not initialized. Initializing now.")

0 commit comments

Comments
 (0)