Skip to content

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

test(agent/prompts): rename variable for clarity

Steven Enamakel98d6a8b68b33
diff --git a/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs b/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs
index 8680b3c176..03b33dcf5c 100644
--- a/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs
+++ b/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs
@@ -276,8 +276,8 @@ fn datetime_section_appends_resolve_time_rule_only_when_tool_present() {
// With `resolve_time` in the agent's tool set, the time-discipline rule
// is rendered under the date block (prevents the LLM hand-computing epoch
// timestamps — the bug this tool exists to fix).
- let with_tools = vec![Box::new(tinyagents_harness::tools::ResolveTimeTool::new()) as Box<dyn Tool>];
- let with_prompt_tools = PromptTool::from_tools(&with_tools);
+ let timed = vec![Box::new(tinyagents_harness::tools::ResolveTimeTool::new()) as Box<dyn Tool>];
+ let with_prompt_tools = PromptTool::from_tools(&timed);
let ctx_with = PromptContext {
workspace_dir: Path::new("/tmp"),
model_name: "test-model",