chatgpt-svelte icon indicating copy to clipboard operation
chatgpt-svelte copied to clipboard

I found a little bug that you might be interested to fix

Open x4080 opened this issue 1 year ago • 0 comments

Bug : After the bot answer and we click "New Chat" the last answer is stuck in display, to fix it :

const reset = () => {
  store.set({
    messages: [
      { role: 'assistant', content: introduction }
    ],
    chatState: 'idle'
  });
  answer.set('')
}

its @chat-messages.ts

Just minor bug, love your chat starter app BTW

x4080 avatar Dec 24 '23 01:12 x4080