基础交互
说明:本页为 Demo 聚合,与 Bubble、图表 等组件文档中的示例可能重复,以组件文档为准。源码均在
docs/demos/。
交互组件
任务列表
任务运行
工具使用栏
{/* tool-use-bar.tsx 为最简列表,与 tool-use-bar-basic 重叠,不在此聚合 /} {/ tool-use-bar-all 与 tool-use-bar-advanced 均为「多字段工具项」展示,advanced 含动态进度;Props 说明见 components/tool-use-bar.md */}
工具使用栏 - 思考模式
主流程见 tool-use-bar-think.tsx;think-simple / think-standalone 为拆解场景,与完整版有重叠。
卡片交互
思维链与AI组件
思维链
{/* ThoughtChainList-debug.tsx 与上文场景重叠,仅作本地调试;需要时在仓库中直接打开该文件 */}
气泡组件
基础用法
气泡列表
自定义渲染
{/* title-render-demo 与 custom-title-render 均演示标题区定制,API 细节不同 */}
扩展功能
{/* beforeMessage/afterMessage 与 beforeContent/afterContent 为不同 API,正文共用 docs/demos/bubble/sharedDemoContent.ts */}
