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
refactor(inference): simplify static context window check
Steven Enamakel5b2b6619fc23
diff --git a/crates/openhuman-core/src/inference/model_context.rs b/crates/openhuman-core/src/inference/model_context.rsindex d45d3fdb4b..34c8d7fef0 100644--- a/crates/openhuman-core/src/inference/model_context.rs+++ b/crates/openhuman-core/src/inference/model_context.rs@@ -50,9 +50,7 @@ pub(crate) fn static_context_window_for_model(model: &str) -> Option<u64> {if normalized == "chat" {return Some(1_000_000);}- if normalized.starts_with("gemma")- || normalized.contains(":1b")- || normalized.contains("270m")+ if normalized.starts_with("gemma") || normalized.contains(":1b") || normalized.contains("270m"){return Some(8_192);}