File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ def construct_deep_research_agent(llm: LLM) -> Agent:
301
301
DR_INSTRUCTIONS = """
302
302
You are a deep-research agent. Work in explicit iterations:
303
303
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 .
305
305
3) FETCH: Use web_fetch for any promising URLs to extract specifics and quotes.
306
306
4) NOTE: After each useful find, call add_note(note, source_url) to save key facts.
307
307
5) REVISE: If evidence contradicts earlier assumptions, update your plan and continue.
@@ -324,6 +324,7 @@ def construct_deep_research_agent(llm: LLM) -> Agent:
324
324
model_settings = ModelSettings (
325
325
temperature = llm .config .temperature ,
326
326
include_usage = True ,
327
+ parallel_tool_calls = True ,
327
328
# optional: let model choose tools freely
328
329
# tool_choice="auto", # if supported by your LitellmModel wrapper
329
330
),
You can’t perform that action at this time.
0 commit comments