feat: add persisted batch text testing

This commit is contained in:
Xin Wang
2026-08-10 13:49:24 +08:00
parent 5b8b9fd097
commit 19e8c8c108
27 changed files with 3855 additions and 1450 deletions
@@ -334,7 +334,7 @@ export function DebugDrawer({
)}
</div>
{debugMode === "auto" ? (
<AutoTestPanel assistantId={assistantId} autoTest={autoTest} />
<AutoTestPanel autoTest={autoTest} />
) : (
<DebugVoicePanel
view={view}
@@ -355,10 +355,8 @@ export function DebugDrawer({
}
function AutoTestPanel({
assistantId,
autoTest,
}: {
assistantId: string | null;
autoTest: ReturnType<typeof useAutoTestRunner>;
}) {
const {
@@ -379,7 +377,6 @@ function AutoTestPanel({
<div className="shrink-0 border-t border-hairline bg-card p-3">
<AutoTestRunBar
state={state}
assistantId={assistantId}
onSelectCase={selectCase}
onClearCase={clearCase}
onStart={start}