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(server): handle missing classification model gracefully
Steven Enamakel71be83194f0a
diff --git a/crates/openhuman-rpc/src/server/classify.rs b/crates/openhuman-rpc/src/server/classify.rsindex 983e078506..74911774b8 100644--- a/crates/openhuman-rpc/src/server/classify.rs+++ b/crates/openhuman-rpc/src/server/classify.rs@@ -79,13 +79,6 @@ pub(super) enum FailureDisposition {/// they are debug-only and never reach Sentry. Any other unknown method is/// still recorded for triage, at warn severity (captured, no page).UnknownMethod { probe: bool },- /// The caller submitted an ingest payload that does not match the- /// canonicaliser schema for its `source_kind` (#5169). The handler already- /// returned a precise error naming the missing or malformed field, and no- /// core-side change can fix a producer sending the wrong shape. Still- /// captured for triage (a spike means a producer regressed), but at warn- /// severity so it does not page.- InvalidIngestPayload,/// Everything else: reported through/// `observability::report_error_or_expected`.Unexpected,@@ -122,8 +115,6 @@ pub(super) fn classify_failure(message: &str, expected_user_state: bool) -> FailFailureDisposition::UnknownMethod {probe: openhuman_core::core::dispatch::is_known_probe_method(unknown_method),}- } else if openhuman_core::memory::tree::tree::rpc::is_invalid_ingest_payload_message(message) {- FailureDisposition::InvalidIngestPayload} else {FailureDisposition::Unexpected}diff --git a/crates/openhuman-rpc/src/server/http/rpc_handler.rs b/crates/openhuman-rpc/src/server/http/rpc_handler.rsindex f9f94b73b4..81962ccf06 100644--- a/crates/openhuman-rpc/src/server/http/rpc_handler.rs+++ b/crates/openhuman-rpc/src/server/http/rpc_handler.rs@@ -111,8 +111,7 @@ pub async fn rpc_handler(State(state): State<AppState>, Json(req): Json<RpcReque"[rpc] unknown probe/legacy method (allow-listed) — debug only, not reporting to Sentry");}- FailureDisposition::UnknownMethod { probe: false }- | FailureDisposition::InvalidIngestPayload => {+ FailureDisposition::UnknownMethod { probe: false } => {openhuman_core::core::observability::report_warning_message(display_message.as_str(),"rpc",