Skip to content

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

docs: update stale http_error.rs paths in comments and README

Steven Enamakel09cbf59a9eae
diff --git a/crates/openhuman-core/src/core/observability_crash_filter_integrations_tests.rs b/crates/openhuman-core/src/core/observability_crash_filter_integrations_tests.rs
index 1637fef50b..4c259b603d 100644
--- a/crates/openhuman-core/src/core/observability_crash_filter_integrations_tests.rs
+++ b/crates/openhuman-core/src/core/observability_crash_filter_integrations_tests.rs
@@ -492,7 +492,7 @@ fn quota_exhausted_filter_matches_responses_usage_limit_reached_event() {
// emit site — the Codex/ChatGPT OAuth `/responses` plan cap. Mirrors the
// real production shape `"<name> Responses API error (<status>): <body>"`
// (`compatible_helpers.rs:135`), including the `(429)` status segment and
- // the full AFE payload (`plan_type` + `resets_at`) from `ops/http_error.rs`,
+ // the full AFE payload (`plan_type` + `resets_at`) from `provider/http_error.rs`,
// so this stays coupled to the actual wire format rather than a loose
// substring. No "monthly"/"quota" co-marker, so it exercises the AFE
// phrase extension reaching the before_send net on both message and
diff --git a/crates/openhuman-core/src/inference/provider/README.md b/crates/openhuman-core/src/inference/provider/README.md
index 0648e268f9..d036a9b3d1 100644
--- a/crates/openhuman-core/src/inference/provider/README.md
+++ b/crates/openhuman-core/src/inference/provider/README.md
@@ -60,10 +60,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.rs::publish_backend_session_expired` and
+ `http_error.rs::publish_backend_session_expired` and
the registered managed model (`openhuman-tinyhumans`) publish `DomainEvent::SessionExpired` when the
managed backend reports an auth failure, so the credentials layer can
- clear/refresh the session; [`ops/http_error.rs`](./ops/http_error.rs) also publishes
+ clear/refresh the session; [`http_error.rs`](./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
diff --git a/crates/openhuman-tinyhumans/src/integrations/client/errors.rs b/crates/openhuman-tinyhumans/src/integrations/client/errors.rs
index 3ddd9a1fb1..72cf4d2847 100644
--- a/crates/openhuman-tinyhumans/src/integrations/client/errors.rs
+++ b/crates/openhuman-tinyhumans/src/integrations/client/errors.rs
@@ -80,7 +80,7 @@ pub(crate) fn extract_error_detail(body: &str, max_bytes: usize) -> String {
///
/// What this does, mirroring `api/rest.rs::flatten_authed_error` (typed-401 →
/// `SESSION_EXPIRED:` sentinel) and
-/// `inference/provider/ops/http_error.rs::publish_backend_session_expired`
+/// `inference/provider/http_error.rs::publish_backend_session_expired`
/// (direct publish for paths whose error is consumed inline / swallowed):
///
/// 1. Build a `SESSION_EXPIRED:`-prefixed message so it (a) classifies as