fix: show auth in /model list

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

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" ||