fix: show auth in /model list
This commit is contained in:
1 parent
d9103b387a
commit
5163886694
4 files changed
+62
-2
No files matched your search
@@ -124,6 +124,13 @@ function migrateOAuthStorageToAuthStorage(
|
||||
}
|
||||
}
|
||||
|
||||
export function hydrateAuthStorage(
|
||||
authStorage: ReturnType<typeof discoverAuthStorage>,
|
||||
): void {
|
||||
ensureOAuthStorage();
|
||||
migrateOAuthStorageToAuthStorage(authStorage);
|
||||
}
|
||||
|
||||
function isOAuthProvider(provider: string): provider is OAuthProvider {
|
||||
return (
|
||||
provider === "anthropic" ||
|
||||
|
||||
Reference in new issue
Block a user