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
fix(services): handle missing config key in rpc method
Steven Enamakel65f4ace2e5b0
diff --git a/app/src/services/rpcMethods.ts b/app/src/services/rpcMethods.tsindex b5ba66f22f..ffa02f762b 100644--- a/app/src/services/rpcMethods.ts+++ b/app/src/services/rpcMethods.ts@@ -11,7 +11,6 @@ export const CORE_RPC_METHODS = {configGetComposioTriggerSettings: 'openhuman.config_get_composio_trigger_settings',configGetDashboardSettings: 'openhuman.config_get_dashboard_settings',configGetRuntimeFlags: 'openhuman.config_get_runtime_flags',- configGetMemorySyncSettings: 'openhuman.config_get_memory_sync_settings',configGetPrivacyMode: 'openhuman.config_get_privacy_mode',configGetSandboxSettings: 'openhuman.config_get_sandbox_settings',configGetSearchSettings: 'openhuman.config_get_search_settings',@@ -27,7 +26,6 @@ export const CORE_RPC_METHODS = {configUpdateComposioTriggerSettings: 'openhuman.config_update_composio_trigger_settings',configUpdateLocalAiSettings: 'openhuman.config_update_local_ai_settings',configUpdateMemorySettings: 'openhuman.config_update_memory_settings',- configUpdateMemorySyncSettings: 'openhuman.config_update_memory_sync_settings',configUpdateModelSettings: 'openhuman.config_update_model_settings',configUpdateRuntimeSettings: 'openhuman.config_update_runtime_settings',configUpdateSandboxSettings: 'openhuman.config_update_sandbox_settings',diff --git a/app/src/utils/tauriCommands/config.ts b/app/src/utils/tauriCommands/config.tsindex 9cdd889aa6..39bfa1d2b7 100644--- a/app/src/utils/tauriCommands/config.ts+++ b/app/src/utils/tauriCommands/config.ts@@ -118,30 +118,6 @@ export interface ModelSettingsUpdate {learning_provider?: string | null;}-/**- * Stepped user-facing memory-context window preset. Mirrors the core- * `MemoryContextWindow` enum (`crates/openhuman-core/src/config/schema/agent.rs`)- * — the actual char budgets are owned by the core, this is the label.- */-export type MemoryContextWindow = 'minimal' | 'balanced' | 'extended' | 'maximum';--export const MEMORY_CONTEXT_WINDOWS: MemoryContextWindow[] = [- 'minimal',- 'balanced',- 'extended',- 'maximum',-];--export interface MemorySettingsUpdate {- backend?: string | null;- auto_save?: boolean | null;- embedding_provider?: string | null;- embedding_model?: string | null;- embedding_dimensions?: number | null;- /** One of `MEMORY_CONTEXT_WINDOWS`. */- memory_window?: MemoryContextWindow | null;-}-export interface RuntimeSettingsUpdate {kind?: string | null;reasoning_enabled?: boolean | null;@@ -399,15 +375,6 @@ export async function openhumanUpdateModelSettings(});}-export async function openhumanUpdateMemorySettings(- update: MemorySettingsUpdate-): Promise<CommandResponse<ConfigSnapshot>> {- return await callCoreRpc<CommandResponse<ConfigSnapshot>>({- method: CORE_RPC_METHODS.configUpdateMemorySettings,- params: update,- });-}-export async function openhumanUpdateRuntimeSettings(update: RuntimeSettingsUpdate): Promise<CommandResponse<ConfigSnapshot>> {@@ -610,47 +577,6 @@ export async function openhumanUpdateSandboxSettings(});}-// ── Memory sync schedule (#3302) ─────────────────────────────────────────────--/** Global memory-sync schedule returned by config_get_memory_sync_settings. */-export interface MemorySyncSettings {- /** Stored value: null = use the default cadence, 0 = Manual only, n>0 = seconds. */- sync_interval_secs: number | null;- /** Resolved cadence to highlight in the UI (the default when unset; 0 for manual). */- selected_secs: number;- /** True when the user picked "Manual only" (stored value is 0). */- is_manual: boolean;- /** True when no explicit choice is stored (falls back to `default_secs`). */- is_default: boolean;- /** The effective default cadence (seconds) applied when unset (24h). */- default_secs: number;- /** Preset cadences (seconds) offered in the UI: 4h / 12h / 24h. */- presets: number[];-}--/** Partial update — set `sync_interval_secs` to `null` to reset to default. */-export interface MemorySyncSettingsUpdate {- /** null = default, 0 = Manual only, n>0 = sync every n seconds. */- sync_interval_secs?: number | null;-}--export async function openhumanGetMemorySyncSettings(): Promise<- CommandResponse<MemorySyncSettings>-> {- return await callCoreRpc<CommandResponse<MemorySyncSettings>>({- method: CORE_RPC_METHODS.configGetMemorySyncSettings,- });-}--export async function openhumanUpdateMemorySyncSettings(- update: MemorySyncSettingsUpdate-): Promise<CommandResponse<MemorySyncSettings>> {- return await callCoreRpc<CommandResponse<MemorySyncSettings>>({- method: CORE_RPC_METHODS.configUpdateMemorySyncSettings,- params: update,- });-}-// ── Agent execution settings (action/tool timeout) ──────────────────────────/** Agent execution settings as returned by config_get_agent_settings. */