{rows.map((row, i) => {
- // 模型内部思考不是用户工作内容,也不属于可展开的执行记录。
- if (row.kind === 'thinking') return null
+ if (row.kind === 'thinking') {
+ return row.text &&
+ }
if (row.kind === 'text') {
return
{renderPart({ type: 'text', text: row.text }, false)}
}
@@ -38,6 +42,11 @@ export function ProcessTimeline({ parts, live, idKey, renderPart }: {
{it.headline}
{it.status === 'error' &&
失败}
{it.summary &&
{it.summary}}
+ {(it.arguments || it.output) &&
查看记录 ▸}>
+ {it.arguments && {it.arguments}}
+ {it.output && {it.output}}
+ }
))}
diff --git a/src/components/TopBar.tsx b/src/components/TopBar.tsx
index 4cd83ab..898ef46 100644
--- a/src/components/TopBar.tsx
+++ b/src/components/TopBar.tsx
@@ -36,7 +36,7 @@ export function TopBar({ compact = false, activePane = 'conversation', showRetur
对话
>}
-