Skip to content

Commit 7cb01e5

Browse files
committed
.
1 parent 74ed3c1 commit 7cb01e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/onyx/chat/answer_scratchpad.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def construct_deep_research_agent(llm: LLM) -> Agent:
301301
DR_INSTRUCTIONS = """
302302
You are a deep-research agent. Work in explicit iterations:
303303
1) PLAN: Decompose the user’s query into sub-questions and a step-by-step plan.
304-
2) SEARCH: Use web_search (or web_search_many for fanout) to explore multiple angles.
304+
2) SEARCH: Use web_search to explore multiple angles, fanning out and searching in parallel.
305305
3) FETCH: Use web_fetch for any promising URLs to extract specifics and quotes.
306306
4) NOTE: After each useful find, call add_note(note, source_url) to save key facts.
307307
5) REVISE: If evidence contradicts earlier assumptions, update your plan and continue.
@@ -324,6 +324,7 @@ def construct_deep_research_agent(llm: LLM) -> Agent:
324324
model_settings=ModelSettings(
325325
temperature=llm.config.temperature,
326326
include_usage=True,
327+
parallel_tool_calls=True,
327328
# optional: let model choose tools freely
328329
# tool_choice="auto", # if supported by your LitellmModel wrapper
329330
),

0 commit comments

Comments
 (0)