wip: snapshot das alterações não commitadas (2026-10-20)
Origem: D:/Documents/Github/LocalAiApp Arquivos omitidos (segredos, bancos de dados, logs, >50 MB): 0
This commit is contained in:
1 parent
ac215b4229
commit
e08189f640
17 files changed
+2914
-13236
No files matched your search
@@ -49,6 +49,10 @@ interface AppState {
|
||||
isStreaming: boolean;
|
||||
setIsStreaming: (streaming: boolean) => void;
|
||||
|
||||
// Web Search
|
||||
isWebSearchEnabled: boolean;
|
||||
setIsWebSearchEnabled: (enabled: boolean) => void;
|
||||
|
||||
// Edit mode
|
||||
editingMessageId: string | null;
|
||||
setEditingMessageId: (id: string | null) => void;
|
||||
@@ -119,6 +123,9 @@ export const useAppStore = create<AppState>()(
|
||||
isStreaming: false,
|
||||
setIsStreaming: (isStreaming) => set({ isStreaming }),
|
||||
|
||||
isWebSearchEnabled: false,
|
||||
setIsWebSearchEnabled: (isWebSearchEnabled) => set({ isWebSearchEnabled }),
|
||||
|
||||
editingMessageId: null,
|
||||
setEditingMessageId: (editingMessageId) => set({ editingMessageId }),
|
||||
|
||||
@@ -171,6 +178,7 @@ export const useAppStore = create<AppState>()(
|
||||
chatSessions: state.chatSessions,
|
||||
messages: state.messages,
|
||||
currentChatId: state.currentChatId,
|
||||
isWebSearchEnabled: state.isWebSearchEnabled,
|
||||
}),
|
||||
}
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user