coze-dev / coze-dev/coze-studio
前端 bot 模块对话组件无法实现流式打字机效果
Open
frontend
- Dominant language
- TypeScript
- Stars
- 21.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
**前端 bot 模块对话组件无法实现流式打字机效果**
1.如下图所示,如果是开发环境 npm run dev 启动,对话组件流式响应无法实现打字机效果,但是控制台日志是流式输出的,说明UI渲染有问题
2.如果是docker容器部署本地源码是没问题的。那么开发环境下如何修复这个问题?
3.第一张图片是控制台已经流式输出,但是聊天组件没有渲染数据
4.第二张图片是流式响应结束,聊天组件一次性渲染了数据
5.前后端代码都是今天的最新代码,9月24日同步的仓库
Contributor guide
Research direction
Reproduce the issue with npm run dev and compare it with the local Docker deployment. Start by tracing the frontend chat component while the console receives streaming output, then identify why rendering is deferred until the response ends. Done means the development environment displays the response incrementally with the typewriter effect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100