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
chore: files changed crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs
Steven Enamakelad028a2d5a36
diff --git a/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs b/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rsindex 4cb907b7ce..0764e821e3 100644--- a/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs+++ b/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs@@ -320,3 +320,16 @@ fn install_request_saves_a_copy_under_the_workspace_when_asked() {Some(std::path::PathBuf::from("/ws/.tokenjuice/repl")));}++#[test]+fn install_request_summarizes_only_on_request_under_a_64k_cap() {+ let config = crate::config::Config::default();+ let request = install_request(&config);+ assert!(request.options.llm_summary_enabled);+ assert_eq!(+ request.options.llm_summary_mode,+ tinyjuice_bus::types::LlmSummaryMode::OnDemand,+ "ingest must never call the summary model on its own"+ );+ assert_eq!(request.options.llm_summary_max_input_tokens, 64_000);+}