mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-03 09:50:21 +08:00
feat: Codex account_name 透传并优化池列表 OAuth 标识与额度重置倒计时展示
(cherry picked from commit 1b9176fc4a)
This commit is contained in:
@@ -38,3 +38,10 @@ def test_derive_oauth_expires_at_fallback_to_legacy_datetime() -> None:
|
||||
)
|
||||
|
||||
assert pool_routes._derive_oauth_expires_at(key) == 1772586123
|
||||
|
||||
|
||||
def test_derive_oauth_account_name_from_auth_config() -> None:
|
||||
assert (
|
||||
pool_routes._derive_oauth_account_name({"account_name": " Workspace Alpha "})
|
||||
== "Workspace Alpha"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user