Keep standalone web search schema under compaction budget

This commit is contained in:
Sayan Sisodiya
2026-05-26 17:20:53 -07:00
parent 487521733b
commit b178195a33
2 changed files with 6 additions and 14 deletions
@@ -112,9 +112,12 @@ async fn standalone_web_search_round_trips_encrypted_output() -> Result<()> {
assert_eq!(requests.len(), 2);
let first_response = requests[0].body_json();
assert!(
requests[0].tool_by_name("web", "run").is_some(),
"web.run should be sent to the model"
let web_run = requests[0]
.tool_by_name("web", "run")
.context("web.run should be sent to the model")?;
assert_eq!(
web_run.pointer("/parameters/properties/time/items/properties/utc_offset/description"),
Some(&json!("UTC offset formatted like \"+03:00\"."))
);
assert!(
!has_hosted_web_search(&first_response),