Refactor settings manager (#41)

Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
Shubham Naik
2025-10-31 11:54:39 -07:00
committed by GitHub
parent 32a3f7c7ab
commit 5108d1eda3
8 changed files with 969 additions and 44 deletions

View File

@@ -638,8 +638,8 @@ export default function App({
setTokenStreamingEnabled(newValue);
// Save to settings
const { updateSettings } = await import("../settings");
await updateSettings({ tokenStreaming: newValue });
const { settingsManager } = await import("../settings-manager");
settingsManager.updateSettings({ tokenStreaming: newValue });
// Update the same command with final result
buffersRef.current.byId.set(cmdId, {