Skip to content

Commit

Permalink
Enable streaming in store
Browse files Browse the repository at this point in the history
  • Loading branch information
n4ze3m committed Nov 14, 2023
1 parent 6c24a25 commit 21056f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/ui/src/store/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const useStoreMessage = create<State>((set) => ({
setMessages: (messages) => set({ messages }),
history: [],
setHistory: (history) => set({ history }),
streaming: false,
streaming: true,
setStreaming: (streaming) => set({ streaming }),
isFirstMessage: true,
setIsFirstMessage: (isFirstMessage) => set({ isFirstMessage }),
Expand Down
2 changes: 1 addition & 1 deletion app/widget/src/store/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const useStoreMessage = create<State>((set) => ({
setMessages: (messages) => set({ messages }),
history: [],
setHistory: (history) => set({ history }),
streaming: false,
streaming: true,
setStreaming: (streaming) => set({ streaming }),
}));

Expand Down

0 comments on commit 21056f2

Please sign in to comment.