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
docs(triage): add README and routing module documentation
Steven Enamakel719ce7c9e980
diff --git a/crates/openhuman-core/src/agent/triage/README.md b/crates/openhuman-core/src/agent/triage/README.mdindex 4835cabf34..f9f2adff78 100644--- a/crates/openhuman-core/src/agent/triage/README.md+++ b/crates/openhuman-core/src/agent/triage/README.md@@ -45,7 +45,7 @@ notification ingest); those build a `TriggerEnvelope` and call in.field list lives in one place.`routing.rs` resolves the arms. `resolve_provider` resolves the-`subconscious` workload role and forces the managed backend whenever that+`chat` workload role and forces the managed backend whenever thatrole points at a local runtime, a local CLI delegate, or an incomplete BYOKroute, so the initial attempt never depends on a local model being up.`build_local_provider_with_config` returns the local arm only whendiff --git a/crates/openhuman-core/src/agent/triage/routing.rs b/crates/openhuman-core/src/agent/triage/routing.rsindex dda5af75f8..ab1ea1fb56 100644--- a/crates/openhuman-core/src/agent/triage/routing.rs+++ b/crates/openhuman-core/src/agent/triage/routing.rs@@ -16,6 +16,10 @@ use anyhow::Context;use crate::config::Config;use crate::inference::provider::{self, INFERENCE_BACKEND_ID};+/// Workload role every triage arm runs under. Triage classification is a+/// short chat-shaped call, so it follows the user's `chat` route.+const TRIAGE_ROLE: &str = "chat";+/// The concrete provider + metadata that [`crate::agent::triage::evaluator::run_triage`]/// should use for this particular triage turn.pub struct ResolvedProvider {