aaif-goose / aaif-goose/vscode-goose

feat(webview): structured assistant content model (ChatContentPart + contentParts)

オープン
#61 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
43
フォーク
19
PR マージ指標
30日以内にマージされた PR はありません

説明

Extracted from #39. Foundation for thinking and tool-call rendering: assistant messages become an ordered list of typed parts instead of one growing markdown string.

Scope: `ChatContentPart` union (TextPart | ThinkingPart | ToolCallPart) and optional `ChatMessage.contentParts` (purely additive); `useChat` reducer assembles parts (coalesce same-type chunks into the open streaming part, finalize on type switch, merge tool-call updates by id, keep a flattened text mirror for copy/history); `AssistantMessage` renders the parts loop with the legacy plain-content path as fallback.

Must reconcile with the error-path changes #49 made in `useChat`.

**Size**: M | **Depends on**: nothing | **Tier**: 1 (foundation; blocks the thinking and tool-call issues)

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

このリポジトリのコントリビューションガイドは索引されていません

評価

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

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

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