The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(test): update assertion to match renamed section heading\n\nThe section heading "## Output style" was renamed to "# Writing style" in the system prompt builder. Updated the test assertions in both the prompt module tests and the context composer tests to check for the new heading, ensuring they continue to verify that prompts are built through the correct code path.\n\nAuto-committed-on: macbook\n
Steven Enamakel4d8908797825
diff --git a/src/openhuman/agent/prompts/mod_tests.rs b/src/openhuman/agent/prompts/mod_tests.rsindex ffeb89bb0c..184f8b5635 100644--- a/src/openhuman/agent/prompts/mod_tests.rs+++ b/src/openhuman/agent/prompts/mod_tests.rs@@ -146,8 +146,8 @@ fn grounding_contract_appended_to_every_build_path() {// Appears before the output-style suffix (tail placement).let g = defaults.find("## Grounding and tool use").unwrap();- let s = defaults.find("## Output style").unwrap();- assert!(g < s, "grounding should precede the output-style suffix");+ let s = defaults.find("# Writing style").unwrap();+ assert!(g < s, "grounding should precede the writing-style suffix");}#[test]diff --git a/src/openhuman/agent/tinyagents/host/context_composer.rs b/src/openhuman/agent/tinyagents/host/context_composer.rsindex 9170ae1af8..d0f9a8b93d 100644--- a/src/openhuman/agent/tinyagents/host/context_composer.rs+++ b/src/openhuman/agent/tinyagents/host/context_composer.rs@@ -393,7 +393,7 @@ mod tests {// global style suffix; asserting on the suffix pins that we went// through `SystemPromptBuilder::build` rather than hand-assembling.assert!(- prompt.contains("## Output style"),+ prompt.contains("# Writing style"),"prompt must come from SystemPromptBuilder::build");}