mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Make Nostr Auth work
This commit is contained in:
13 files changed
+152
-113
No files matched your search
@@ -33,10 +33,6 @@ export function parseProviderModel(
|
||||
throw new Error(`Provider "${provider}" not found. Available providers: ${Object.keys(providers).join(', ')}`);
|
||||
}
|
||||
|
||||
if (!connection.apiKey) {
|
||||
throw new Error(`Provider "${provider}" is not configured with an API key`);
|
||||
}
|
||||
|
||||
return {
|
||||
provider,
|
||||
model,
|
||||
|
||||
Reference in new issue
Block a user