mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Add initial AI credits dialog
This commit is contained in:
4 files changed
+502
-5
No files matched your search
@@ -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;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user