From 3a0e01b1b9fcf2443db96668ed9038bb8a595771 Mon Sep 17 00:00:00 2001 From: David Rauschenbach Date: Thu, 29 Oct 2026 07:07:37 -0700 Subject: [PATCH] Since the research-person prompt requires every tool in the web pack, require the pack --- crates/runvil/tests/suite/shipped.rs | 6 +++--- prompts/research-person.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/runvil/tests/suite/shipped.rs b/crates/runvil/tests/suite/shipped.rs index 4392ec648..df5594fc5 100644 --- a/crates/runvil/tests/suite/shipped.rs +++ b/crates/runvil/tests/suite/shipped.rs @@ -31,7 +31,7 @@ fn research_ada_lovelace() -> TestResult { } #[test] -fn the_shipped_research_prompt_offers_its_web_tools_by_id_and_runs_end_to_end() -> TestResult { +fn the_shipped_research_prompt_offers_the_web_pack_and_runs_end_to_end() -> TestResult { let trace = research_ada_lovelace()?; assert_eq!(trace.text()?, "a factual summary"); @@ -48,11 +48,11 @@ fn the_shipped_research_prompt_offers_its_web_tools_by_id_and_runs_end_to_end() _ => {} } } - let wire_names = vec!["web_search".to_owned(), "web_fetch".to_owned()]; + let wire_names = vec!["web_fetch".to_owned(), "web_search".to_owned()]; assert_eq!( advertised, [wire_names.clone(), wire_names], - "both rounds advertise the offered tools under their wire names, in offer order" + "both rounds advertise the web Pack's tools under their wire names, in id order" ); assert_eq!( tool_calls, diff --git a/prompts/research-person.md b/prompts/research-person.md index 8b4901929..33dff2ff2 100644 --- a/prompts/research-person.md +++ b/prompts/research-person.md @@ -18,7 +18,7 @@ models.default("researcher") ## Research ```lua -tools.offer({"web/search", "web/fetch"}) +tools.offer("web") ``` You research people using live web tools and return a compact, factual summary.