Skip to content

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

chore(config): remove stale voice and dictation references

Steven Enamakel0daba132010d
diff --git a/app/test/e2e/helpers/config-toml.ts b/app/test/e2e/helpers/config-toml.ts
index 755d4cfce6..acb85ec4ae 100644
--- a/app/test/e2e/helpers/config-toml.ts
+++ b/app/test/e2e/helpers/config-toml.ts
@@ -7,7 +7,7 @@
* need to confirm UI mutations land in the persisted config.
*
* Intentionally minimal: a regex-based reader, not a full TOML parser. The
- * keys we care about (`onboarding_completed`, `voice_server.auto_start`,
+ * keys we care about (`onboarding_completed`, `voice_server.stt_engine`,
* etc.) are simple `key = value` lines at the top-level or inside a flat
* `[section]` table.
*/
diff --git a/crates/openhuman-core/src/config/README.md b/crates/openhuman-core/src/config/README.md
index a646b42964..99b6e72bde 100644
--- a/crates/openhuman-core/src/config/README.md
+++ b/crates/openhuman-core/src/config/README.md
@@ -197,7 +197,6 @@ All methods are in the `config` namespace and are registered by [`core/all.rs`](
| Privacy and search | `get_privacy_mode`, `set_privacy_mode`, `get_search_settings`, `update_search_settings` |
| Browser | `update_browser_settings`, `set_browser_allow_all` |
| Integrations | `get_composio_trigger_settings`, `update_composio_trigger_settings` |
-| Voice | `get_dictation_settings`, `update_dictation_settings`, `get_voice_server_settings`, `update_voice_server_settings` |
| Onboarding and UI | `get_onboarding_completed`, `set_onboarding_completed`, `workspace_onboarding_flag_exists`, `workspace_onboarding_flag_set`, `get_analytics_settings`, `update_analytics_settings`, `get_user_timezone`, `update_user_timezone` |
The `workspace` namespace (`file_read`, `file_write`, `file_reset`) is registered separately from
diff --git a/crates/openhuman-core/src/config/mod.rs b/crates/openhuman-core/src/config/mod.rs
index f95274c98f..ffb3e41780 100644
--- a/crates/openhuman-core/src/config/mod.rs
+++ b/crates/openhuman-core/src/config/mod.rs
@@ -49,7 +49,7 @@ pub use schema::{
CapabilityProviderTrustState, ChannelsConfig, CompactionSettings, CompactionStrategy,
ComposioConfig, ComposioDirectBaseUrls, ComposioHostCredential, ComputerConfig, Config,
ContextConfig, CostConfig, CronConfig, CurlConfig, DashboardConfig, DecisionModel,
- DelegateAgentConfig, DiagramViewerConfig, DictationActivationMode, DictationConfig,
+ DelegateAgentConfig, DiagramViewerConfig,
DiscordConfig, DockerRuntimeConfig, EmailConfig, EmbeddingRouteConfig, GitbooksConfig,
HttpHeader, HttpRequestConfig, IMessageConfig, IntegrationToggle, IntegrationsConfig,
LarkConfig, LegacySearchInputs, LinqConfig, LocalAiConfig, LocalJailConfig, MatrixConfig,
diff --git a/crates/openhuman-core/src/config/ops/README.md b/crates/openhuman-core/src/config/ops/README.md
index 1cd4cf966e..15addf5efe 100644
--- a/crates/openhuman-core/src/config/ops/README.md
+++ b/crates/openhuman-core/src/config/ops/README.md
@@ -18,7 +18,7 @@ fn, which returns `Outcome<T>`.
| [`model.rs`](./model.rs) | AI-provider, memory, runtime, local-AI, and Composio-trigger settings. |
| [`privacy.rs`](./privacy.rs) | Privacy Mode (`[privacy]`) get/set. |
| [`sandbox.rs`](./sandbox.rs) | Sandbox / Docker runtime (`[sandbox]`, `[runtime.docker]`) settings. |
-| [`ui.rs`](./ui.rs) | Browser, analytics, dictation, voice-server, and onboarding-flag settings. |
+| [`ui.rs`](./ui.rs) | Browser, analytics, and onboarding-flag settings. |
| [`search.rs`](./search.rs) | Search settings: providers, routes, role order, keys, limits, and the web-access allowlist. |
Each submodule follows the same shape: a `*SettingsPatch` struct with
@@ -27,7 +27,6 @@ that mutates the given config, calls `Config::save()`, and returns the
settings or snapshot; a `load_and_apply_*(patch)` wrapper that calls
`load_config_with_timeout` first; and a `get_*` fn that reads the relevant
section back out, usually as `Outcome<serde_json::Value>`. `ui.rs`'s
-dictation and voice-server mutators exist only in `load_and_apply_*` form.
## Key entry points
@@ -51,8 +50,6 @@ dictation and voice-server mutators exist only in `load_and_apply_*` form.
- `search.rs`: `apply_search_settings` / `get_search_settings`,
`search_settings_json`.
- `ui.rs`: `apply_browser_settings`, `apply_analytics_settings`,
- `load_and_apply_voice_server_settings` / `get_voice_server_settings`,
- `load_and_apply_dictation_settings` / `get_dictation_settings`,
`set_onboarding_completed` / `get_onboarding_completed`,
`workspace_onboarding_flag_exists` / `workspace_onboarding_flag_set` /
`workspace_onboarding_flag_resolve`.
diff --git a/crates/openhuman-core/src/config/ops_voice_and_autonomy_tests.rs b/crates/openhuman-core/src/config/ops_voice_and_autonomy_tests.rs
index efb970a5ca..27dcc02f5a 100644
--- a/crates/openhuman-core/src/config/ops_voice_and_autonomy_tests.rs
+++ b/crates/openhuman-core/src/config/ops_voice_and_autonomy_tests.rs
@@ -200,7 +200,6 @@ async fn get_voice_server_settings_reads_from_loaded_config() {
}
}
-#[tokio::test]
async fn get_onboarding_completed_reads_from_loaded_config() {
let _g = ENV_LOCK.lock().await;
let tmp = tempdir().unwrap();
diff --git a/crates/openhuman-core/src/config/schema/README.md b/crates/openhuman-core/src/config/schema/README.md
index 1812df7c32..112dc9ce26 100644
--- a/crates/openhuman-core/src/config/schema/README.md
+++ b/crates/openhuman-core/src/config/schema/README.md
@@ -26,7 +26,6 @@ is mounted as a submodule of [`load/dirs.rs`](./load/dirs.rs) via `#[path]`.
| `[context]` | [`context.rs`](./context.rs) | `ContextConfig` |
| `[cost]` | [`identity_cost.rs`](./identity_cost.rs) | `CostConfig`, `ModelPricing` |
| `[dashboard]` | [`dashboard.rs`](./dashboard.rs) | `DashboardConfig`, `DiagramViewerConfig`, `EventStreamConfig`, `ModelHealthConfig` |
-| `[dictation]` | [`dictation.rs`](./dictation.rs) | `DictationConfig`, `DictationActivationMode` |
| `[ephemeral_route]` | [`ephemeral_route.rs`](./ephemeral_route.rs) | `EphemeralRoute` |
| `[cron]` | [`cron.rs`](./cron.rs) | `CronConfig` |
| `[hooks]` | [`hooks.rs`](./hooks.rs) | `HooksConfig` |
@@ -46,7 +45,7 @@ is mounted as a submodule of [`load/dirs.rs`](./load/dirs.rs) via `#[path]`.
| `[tokenjuice]` | [`tokenjuice.rs`](./tokenjuice.rs) | `TokenjuiceConfig` |
| tool-related sections (see below) | `tools/` | (multiple structs) |
| `[update]` | [`update.rs`](./update.rs) | `UpdateConfig`, `UpdateRestartStrategy` |
-| `[voice_server]` | [`voice_server.rs`](./voice_server.rs) | `VoiceServerConfig`, `SttEngine`, `VoiceActivationMode` |
+| `[voice_server]` | [`voice_server.rs`](./voice_server.rs) | `VoiceServerConfig`, `SttEngine` |
| `[[voice_providers]]`, `stt_provider` / `tts_provider` | [`voice_providers.rs`](./voice_providers.rs) | `VoiceProviderCreds`, `BuiltinVoiceProvider`, `BUILTIN_VOICE_PROVIDERS` |
| top-level `Config` and its scalar keys | `types.rs` (+ `types/config.rs`, `types/model_ids.rs`) | `Config`, `ModelRegistryEntry`, `MODEL_*` / `DEFAULT_MODEL` constants |
| built-in defaults | [`defaults.rs`](./defaults.rs) | `impl Default for Config` and per-field `default_*` fns |
@@ -110,7 +109,7 @@ sandbox policy contract described under Workspace/identity helpers below.
(`migrate_legacy_inference_url`, `migrate_cloud_provider_slugs`).
4. Apply environment-variable overrides through `Config::apply_env_overrides_from`
in [`load/env_overlay.rs`](./load/env_overlay.rs), split into submodules under [`load/env_overlay/`](./load/env_overlay/)
- (`dictation_context.rs`, `learning_memory.rs`, `observability.rs`,
+ (`context.rs`, `learning_memory.rs`, `observability.rs`,
`proxy.rs`, `runtime.rs`, `search.rs`);
[`load/env.rs`](./load/env.rs) is only the `EnvLookup` seam that lets tests supply a fake
environment.