alibaba / alibaba/ChatUI

Chat Container如何实现中断流式响应生成和继续生成

Open
#182 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.4k
Forks
425
PR merge metrics
No merged PRs in 30d

Description

1. 如何将流式响应开始返回后将发送按钮变为停止生成按钮,方便点击中断生成。
2. 对于单次回答超长需要如何进行继续生成回答操作。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Chat Container and its streaming-response and send-button entry points in the TypeScript/React library. Define done as allowing a user to stop an active stream and request continuation when a single answer is too long, with both flows behaving correctly in the UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.