fix: globalize queen and judge agent's storage

This commit is contained in:
Timothy
2026-02-24 13:27:33 -08:00
parent 8381c95617
commit 0ad52b90d8
7 changed files with 240 additions and 51 deletions
@@ -86,7 +86,9 @@ def _get_access_token(account: str = "") -> str:
credentials = CredentialStoreAdapter.default()
if account:
token = credentials.get_by_alias("google", account)
# Strip provider prefix if LLM passes "google/alias" format
clean_account = account.removeprefix("google/")
token = credentials.get_by_alias("google", clean_account)
else:
token = credentials.get("google")
if token: