Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(agent_prompt_comprehension_e2e): update summarizer test to use resolve_time

Steven Enamakel16e8eebde727
diff --git a/tests/agent_prompt_comprehension_e2e.rs b/tests/agent_prompt_comprehension_e2e.rs
index c047ddc7b0..8b22eaa6b7 100644
--- a/tests/agent_prompt_comprehension_e2e.rs
+++ b/tests/agent_prompt_comprehension_e2e.rs
@@ -948,7 +948,7 @@ fn summarizer_advertises_no_tools() {
entry: Entry::WebChat,
user_message: "What is the state of my workspace?",
scripted_completions: vec![
- call("read_workspace_state", json!({})),
+ call("resolve_time", json!({ "expr": "now" })),
text_completion("Workspace summary: nothing notable."),
text_completion("Your workspace has nothing notable."),
],