This commit is contained in:
imccyu
2026-08-08 16:53:25 +08:00
parent ab50037b93
commit 810bfc4b5e
2 changed files with 2 additions and 2 deletions
@@ -42,7 +42,7 @@ export function GenericCommandCard({ node, t }: GenericCommandCardProps) {
const body = text !== undefined && text.includes('\n') ? text : null
const open = expanded && body !== null
return (
<div className={css.root} data-state={state}>
<div className={css.root} data-variant="others" data-state={state}>
{state === 'error' && <span className={a11yCss.visuallyHidden}>{t('row.failed')}</span>}
<DisclosureRow
rowClassName={css.row}
@@ -38,7 +38,7 @@ export function ReasoningRow({ text, running, t }: { text: string; running: bool
}, [running, scheduleSummaryScroll, summary])
return (
<div className={css.root} data-state={running ? 'running' : 'ok'}>
<div className={css.root} data-variant="think" data-state={running ? 'running' : 'ok'}>
{running && <span className={a11yCss.visuallyHidden}>{t('row.running')}</span>}
<DisclosureRow
rowClassName={css.row}