Fix session creation error handling and health endpoint status codes (#177) (#179)

This commit is contained in:
Chris Scott authored and GitHub committed 2026-04-05 09:07:34 -04:00
1 parent 2f9c57a642
commit c32feae8ef
18 files changed
+257 -59

No files matched your search

+2 -1
View File
@@ -71,7 +71,7 @@ export function useCommandHandler({
break
case 'new':
case 'clear':
case 'clear': {
try {
const newSession = await createSession.mutateAsync({
agent: undefined
@@ -91,6 +91,7 @@ export function useCommandHandler({
showToast.error(`Failed to create new session: ${error instanceof Error ? error.message : 'Unknown error'}`)
}
break
}
case 'details':
if (onToggleDetails) {