Skip to content

Commit

Permalink
fix: flicker on abort
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Dec 18, 2024
1 parent 4edc8b6 commit 93dc44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constants/Chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const useInference = create<InferenceStateType>((set, get) => ({
...state,
abortFunction: async () => {
await fn()
get().stopGenerating()
// get().stopGenerating()
},
}))
},
Expand Down

0 comments on commit 93dc44b

Please sign in to comment.