Skip to content

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

feat(config): add chat_agent_id field to AgentSettingsUpdate

Steven Enamakel84b3d93afbea
diff --git a/crates/openhuman-core/src/config/schemas/helpers.rs b/crates/openhuman-core/src/config/schemas/helpers.rs
index d56cac9475..f1cccc1c39 100644
--- a/crates/openhuman-core/src/config/schemas/helpers.rs
+++ b/crates/openhuman-core/src/config/schemas/helpers.rs
@@ -228,6 +228,10 @@ pub(super) struct PrivacyModeUpdate {
pub(super) struct AgentSettingsUpdate {
/// Tool/action wall-clock timeout in seconds (1–3600). Validated server-side.
pub(super) agent_timeout_secs: Option<u64>,
+ /// Agent id the web-chat path routes turns to. Empty string clears the
+ /// override (back to the orchestrator); omitted leaves it unchanged.
+ #[serde(default)]
+ pub(super) chat_agent_id: Option<String>,
}
#[derive(Debug, Deserialize)]