WongSaang/chatgpt-ui

Typewriter not stopping and leaving undefined text in chat

Opened this issue ยท 7 comments

image

After enabling the typewriter effect, it either type so slowly and most of the time I get "undefined" in the chat response. But when I refresh the page, the message appears in the normal text.

same, happening to me

same, happening to me

For the time being..just turn it off.

This maybe issue with front end vue js,
Logs
User
[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core
[nitro] [dev] [unhandledRejection] TypeError: Cannot read properties of undefined (reading 'dark')

Oh man, I'm getting this too. Any solution yet (besides just turning it off?)

Oh man, I'm getting this too. Any solution yet (besides just turning it off?)

Not yet.

the same problem!!!

For me, setting NUXT_PUBLIC_TYPEWRITER=false helped.

Seems, there is a bug in the file Conversation.vue. Changing line 29 to
"if (runtimeConfig.public.typewriter && nextMessage.length)" solves the issue also NUXT_PUBLIC_TYPEWRITER=true.