a2ui-project / a2ui-project/a2ui

Dart Simple Chat example should either handle or not allow interruption.

オープン
#2,236 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
P2 status: first-line-handled
主要言語
TypeScript
スター
16.4k
フォーク
1.3k
平均マージ
2日 13時間
マージ済み PR(30日)
134

説明

Simple Chat misses clear handling of concurrency: what happens when user clicks a genui UI button in the middle of the model's response? Right now conversation is messed up in this case.

This question should be handled clearly for both **code reader (AI and human) and end user**.

One of options to handle it is:
1. Disable all gen UI while model is thinking
2. Add button to interrupt thinking to enable UI back (or to enable just user chat box)

More advanced option:
1. Create button to pause/resume model - stop processing responses in the middle, maybe storing thinking responses in history. After pausing user will be able to either resume processing or send new message.
2. When user clicks a gen UI button, handle it as pause + send another message.
3. Make user chat box always enabled and using the same mechanism.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。