fix: show auth in /model list

This commit is contained in:
Peter Steinberger committed 2026-01-05 13:49:25 +00:00
1 parent d9103b387a
commit 5163886694
4 files changed
+62 -2

No files matched your search

+7
View File
@@ -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" ||