Add initial AI credits dialog

This commit is contained in:
Alex Gleason committed 2025-09-19 17:49:15 -05:00
1 parent 04d28cbe01
commit dca1573293
4 files changed
+502 -5

No files matched your search

+3 -1
View File
@@ -56,7 +56,9 @@ export function useAICredits(providerId: string, connection: AIConnection) {
// Already in V1 format
return parsed;
} catch (error) {
console.error('Error fetching AI credits:', error);
if (error instanceof Error && !error.message.includes('Connection error')) {
console.error('Error fetching AI credits:', error);
}
throw error;
}
},