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: update config loading references in module readmes
Steven Enamakel638dde25e370
diff --git a/crates/openhuman-core/src/config/README.md b/crates/openhuman-core/src/config/README.mdindex f735637ff3..e7dd1b4a60 100644--- a/crates/openhuman-core/src/config/README.md+++ b/crates/openhuman-core/src/config/README.md@@ -6,7 +6,7 @@ and CLI launch flags on top of it, runs startup data migrations, and writes it bexposes the `config.*` RPC namespace the settings UI uses to read and change those settings.Nearly every other domain reads its slice of settings from here (`config.agent`, `config.memory`,-`config.channels`, `config.autonomy`, and so on), usually through `ctx.load_config()`.+`config.channels`, `config.autonomy`, and so on), usually through `config::load_config_with_timeout()`.## How it works@@ -97,7 +97,7 @@ paths are already known and ignores `OPENHUMAN_WORKSPACE`, for long-lived object`Config::load_from_default_paths` ignores `OPENHUMAN_WORKSPACE` too and is read-only; the debug promptdump uses it.-Most code does not call these directly. `ctx.load_config()` wraps `load_or_init` in a+Most code does not call these directly. `ops::load_config_with_timeout()` wraps `load_or_init` in a30-second timeout, returns the embedding host's `Config` instead when one is installed on the current`CoreContext`, and seeds per-token prices into the model registry in memory. Code handed a specificworkspace should call `load_config_for_workspace_with_timeout(workspace_dir)` so it does not pick up thediff --git a/crates/openhuman-core/src/desktop/dashboard/README.md b/crates/openhuman-core/src/desktop/dashboard/README.mdindex c7ba168ebb..9c51ad3873 100644--- a/crates/openhuman-core/src/desktop/dashboard/README.md+++ b/crates/openhuman-core/src/desktop/dashboard/README.md@@ -34,7 +34,7 @@ Aggregate, operator-facing views over local config. Today it owns a single read-`ModelHealthEntry`: `id`, `provider`, `cost_per_1m_output` (f64), `vision` (bool), `quality_score` (`f64?`, placeholder), `hallucination_rate` (`f64?`, placeholder), `agents_using` (u64, placeholder 0), `tasks_evaluated` (u64, placeholder 0).`ModelHealthConfigView`: `hallucination_threshold` (f64), `min_tasks_for_rating` (u64), `evaluation_window_tasks` (u64).-The handler loads config via `ctx.load_config()` and returns CLI-compatible JSON through `Outcome::into_cli_compatible_json()`. Wired into the registry in [`crates/openhuman-core/src/core/all.rs`](../../core/all.rs) (both `all_dashboard_registered_controllers` and `all_dashboard_controller_schemas`).+The handler loads config via `crate::config::rpc::load_config_with_timeout()` and returns CLI-compatible JSON through `Outcome::into_cli_compatible_json()`. Wired into the registry in [`crates/openhuman-core/src/core/all.rs`](../../core/all.rs) (both `all_dashboard_registered_controllers` and `all_dashboard_controller_schemas`).## Persistencediff --git a/crates/openhuman-core/src/platform/doctor/README.md b/crates/openhuman-core/src/platform/doctor/README.mdindex 799645df77..16b04a48e0 100644--- a/crates/openhuman-core/src/platform/doctor/README.md+++ b/crates/openhuman-core/src/platform/doctor/README.md@@ -47,7 +47,7 @@ Namespace `doctor`, two functions:| `doctor.report` | none | `DoctorReport` ("Run diagnostics for workspace and runtime configuration.") || `doctor.models` | `use_cache: Option<bool>` (default `true`) | `ModelProbeReport` ("Probe provider model availability and auth status.") |-Both handlers load config via `ctx.load_config()` and return `Outcome::single_log(...)`. Wired into the global registry in `crates/openhuman-core/src/core/all.rs` (controllers, schemas, and the namespace description "Run diagnostics for workspace and runtime health.").+Both handlers load config via `config_rpc::load_config_with_timeout()` and return `Outcome::single_log(...)`. Wired into the global registry in `crates/openhuman-core/src/core/all.rs` (controllers, schemas, and the namespace description "Run diagnostics for workspace and runtime health.").## Agent tools