Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(inference): update module paths after http_error consolidation

Steven Enamakel671174aa050a
diff --git a/crates/openhuman-core/src/inference/README.md b/crates/openhuman-core/src/inference/README.md
index 21451b4cab..d0aee28ae8 100644
--- a/crates/openhuman-core/src/inference/README.md
+++ b/crates/openhuman-core/src/inference/README.md
@@ -156,9 +156,8 @@ A failed provider call passes through several layers, each with one job:
HTTP / transport error
|
v
- provider/ops/http_error/dispatch.rs api_error(): run every classifier
- | quota_and_credits, local_provider, policy_rejection,
- | context_window, auth_failure
+ provider/ops/http_error.rs api_error(): tinyinference_llm::failure::http
+ | classifies; HostErrorReporter applies backend guards, demotion, Sentry
|
+--> auth_failure.rs: 401 from managed backend -> SessionExpired event
| 401/403 on a BYO key -> auth_error_registry::record
diff --git a/crates/openhuman-core/src/inference/auth_error_registry.rs b/crates/openhuman-core/src/inference/auth_error_registry.rs
index 8456674112..ef104d8f8f 100644
--- a/crates/openhuman-core/src/inference/auth_error_registry.rs
+++ b/crates/openhuman-core/src/inference/auth_error_registry.rs
@@ -10,7 +10,7 @@
//! `openhuman.inference_provider_auth_errors` RPC ([`snapshot`]).
//!
//! Entries are recorded at the demote site
-//! ([`provider::ops::http_error::log_byo_provider_auth_failure`](super::provider::ops::http_error::log_byo_provider_auth_failure)) and cleared
+//! ([`provider::ops::log_byo_provider_auth_failure`](super::provider::ops::log_byo_provider_auth_failure)) and cleared
//! when the user updates or removes that provider's key
//! (`credentials::ops`). The [`record`] latch is what makes the notification
//! fire **once per failure episode** rather than once per retry: the
diff --git a/crates/openhuman-core/src/inference/provider/README.md b/crates/openhuman-core/src/inference/provider/README.md
index 830c4c0b98..6a924e5417 100644
--- a/crates/openhuman-core/src/inference/provider/README.md
+++ b/crates/openhuman-core/src/inference/provider/README.md
@@ -59,10 +59,10 @@ previously `providers/` (pre-consolidation single-crate layout); see
- `crate::inference::auth_error_registry`: surfaces OpenHuman per-provider auth errors
back to the UI.
- `crate::core::bus` (`BUS.publish`) / `crate::core::events::DomainEvent`:
- `ops/http_error/auth_failure.rs::publish_backend_session_expired` and
+ `ops/http_error.rs::publish_backend_session_expired` and
`openhuman_backend_model.rs` publish `DomainEvent::SessionExpired` when the
managed backend reports an auth failure, so the credentials layer can
- clear/refresh the session; [`ops/http_error/auth_failure.rs`](./ops/http_error/auth_failure.rs) also publishes
+ clear/refresh the session; [`ops/http_error.rs`](./ops/http_error.rs) also publishes
`DomainEvent::ProviderApiKeyRejected` the first time a BYO key is rejected.
- `crate::mcp::server::local` (via the vendored `claude_code` driver), the Claude Code
provider points the sandboxed `claude` subprocess at the in-process MCP