WongSaang / chatgpt-ui

A ChatGPT web client that supports multiple users, multiple languages, and multiple database connections for persistent data storage. Provides Docker images and quick deployment scripts.
https://wongsaang.github.io/chatgpt-ui/
MIT License
1.5k stars 331 forks source link

TypeWriter not working #76

Closed NandhaKishorM closed 1 year ago

NandhaKishorM commented 1 year ago

The streaming feature not working in the docker.

WongSaang commented 1 year ago

Hello, Thank you for the feedback.

I also noticed that this environment variable is not available in production. I will fix this issue as soon as possible. The environment variable is available in build stage, and you can also build your own version.

Nandakishor @.***> 于 2023年3月25日周六 20:29写道:

The streaming feature not working in the docker.

— Reply to this email directly, view it on GitHub https://github.com/WongSaang/chatgpt-ui/issues/76, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALAX6FBZDXIETDPFUHGEA5LW53QKDANCNFSM6AAAAAAWHQCQHE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

NandhaKishorM commented 1 year ago

can you elaborate how I can build my own version?

cb360 commented 1 year ago

修改此项目源码根目录下: nuxt.config.ts 文件: 将 typewriter: false改为true。 重新构建:yarn run build 将生成的.output文件夹替换掉原来的。 TypeWriter 功能就正常了。

chatgpt translate to english:

Please modify the nuxt.config.ts file in the root directory of this project: Change typewriter: false to typewriter: true. Rebuild the project with yarn run build. Replace the original folder with the newly generated .output folder. The TypeWriter feature should work properly after these steps.

runtimeConfig: { public: { appName: appName, typewriter: true, typewriterDelay: 50, customApiKey: false } },

@WongSaang 
WongSaang commented 1 year ago

Hello, the latest version has fixed this issue.