fix: suppress aborted error display and fix TTS button condition

This commit is contained in:
Chris Scott committed 2026-04-24 09:18:15 -04:00
1 parent c7ddebe508
commit 450262c2c5
2 files changed
+2 -6

No files matched your search

+1 -5
View File
@@ -42,11 +42,7 @@ export function parseOpenCodeError(error: OpenCodeError | undefined | null): Par
}
case 'MessageAbortedError':
return {
title: 'Message Aborted',
message: error.data.message || 'The message was aborted',
isRetryable: false,
}
return null
case 'APIError':
return {