Refactor settings manager (#39)

Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
Shubham Naik
2025-10-30 13:37:34 -07:00
committed by GitHub
parent 30a3883f04
commit d144dd50d9
7 changed files with 929 additions and 29 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, {