feat: add settings management with username and tools context for agents

This commit is contained in:
Jonathan Atta
2026-03-04 11:32:39 +01:00
parent 21b669f96c
commit d77bdcf80e
8 changed files with 233 additions and 10 deletions

View File

@@ -17,6 +17,7 @@ import { ThemeProvider, useTheme } from './src/theme/ThemeProvider';
import { loadAgents } from './src/store/agentsSlice';
import { rehydrateChat } from './src/store/chatSlice';
import { loadChatState } from './src/store/persistence';
import { loadSettings } from './src/store/settingsSlice';
function InnerApp() {
const { scheme, colors } = useTheme();
@@ -30,6 +31,7 @@ function InnerApp() {
const [persisted] = await Promise.all([
loadChatState(),
dispatch(loadAgents()),
dispatch(loadSettings()),
]);
if (persisted) {
dispatch(rehydrateChat(persisted));