Skip to content

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

docs(config, inference): add README files for config schema and local inference modules

Steven Enamakela28ec107319a
diff --git a/crates/openhuman-core/src/config/schema/README.md b/crates/openhuman-core/src/config/schema/README.md
index de974c4042..7ad6954de9 100644
--- a/crates/openhuman-core/src/config/schema/README.md
+++ b/crates/openhuman-core/src/config/schema/README.md
@@ -6,12 +6,12 @@ contributors here: "Rust configuration is defined under
`crates/openhuman-core/src/config/schema/` and loaded through its config
operations" (the operations live in `../ops/`, re-exported as `config::rpc`).
-`Config` itself is split with `include!`: `types.rs` pulls in
-`types_part_01.rs` / `types_part_02.rs` (the struct definition, model
-constants, and small helper types) purely to keep any one file under the
-repo's ~500-line guideline; treat all three as one unit. `load_user_state.rs`
-sits at this level but is mounted as a submodule of `load/dirs.rs` via
-`#[path]`.
+`Config` itself is split into submodules: `types.rs` declares `types/config.rs`
+(the struct definition), `types/model_ids.rs` (model constants), and
+`types/defaults.rs` / `types/output_language.rs` / `types/resolvers.rs` (small
+helper types) purely to keep any one file under the repo's ~500-line
+guideline; treat them as one unit. `load_user_state.rs` sits at this level but
+is mounted as a submodule of `load/dirs.rs` via `#[path]`.
## Layout — `[section]` → file → struct
diff --git a/crates/openhuman-core/src/inference/local/README.md b/crates/openhuman-core/src/inference/local/README.md
index 5d5eebb431..38ccaf0963 100644
--- a/crates/openhuman-core/src/inference/local/README.md
+++ b/crates/openhuman-core/src/inference/local/README.md
@@ -70,12 +70,12 @@ into `local::rpc` (`ops.rs`).
`grep -rn 'inference::local::' crates/openhuman-core/src` shows the main
callers outside this module: `agent/schemas.rs` (registers `agent.chat` /
`agent.chat_simple` over `local::rpc::agent_chat*`), `inference/ops.rs` and
-`inference/provider/factory_part_0{1,3,4}.rs` (`profile::is_local_provider_string`,
+`inference/provider/factory/` (`profile::is_local_provider_string`,
base-url resolution when routing into a local runtime), `inference/embeddings/factory.rs`
(Ollama embedding base url), `agent/learning/reflection.rs` and
-`security/credentials/ops_part_01.rs` (`local::global`), `core/runtime/builder.rs`
+`security/credentials/ops/login_services.rs` (`local::global`), `core/runtime/builder.rs`
(`local::try_global` on shutdown), `config/ops/model.rs` (`provider::normalize_provider`,
-`validate_ollama_url`), `agent/tinyagents/mod_part_03.rs` and `agent/triage/routing.rs`
+`validate_ollama_url`), `agent/tinyagents/turn_models.rs` and `agent/triage/routing.rs`
(`profile::is_local_provider_string`), `voice/ops.rs` (`model_ids`, `paths`), and
`agent/host_runtime.rs`, `runtime/python/process.rs`, `runtime/python_server/{kompress,spacy}.rs`
(`process_util::apply_no_window`).