Skip to content

Commit 0571c89

Browse files
use default prompt in hintSource for Tool Use agent
1 parent 07b97f4 commit 0571c89

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/agentlab/agents/tool_use_agent/tool_use_agent.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,6 @@ class TaskHint(Block):
313313
top_n: int = 4 # Number of top hints to return when using embedding retrieval
314314
embedder_model: str = "Qwen/Qwen3-Embedding-0.6B" # Model for embedding hints
315315
embedder_server: str = "http://localhost:5000"
316-
llm_prompt: str = """We're choosing hints to help solve the following task:\n{goal}.\n
317-
You need to choose the most relevant hints topic from the following list:\n\nHint topics:\n{topics}\n
318-
Choose hint topic for the task and return only its number, e.g. 1. If you don't know the answer, return -1."""
319316

320317
def _init(self):
321318
"""Initialize the block."""
@@ -326,7 +323,6 @@ def _init(self):
326323
top_n=self.top_n,
327324
embedder_model=self.embedder_model,
328325
embedder_server=self.embedder_server,
329-
llm_prompt=self.llm_prompt,
330326
)
331327

332328
def apply(self, llm, discussion: StructuredDiscussion, task_name: str) -> dict:

0 commit comments

Comments
 (0)