feat: support chatgpt web access token import

This commit is contained in:
Codex
2026-05-06 14:45:39 +08:00
parent 94a6f315ca
commit 7eaf3e7d03
11 changed files with 511 additions and 52 deletions

View File

@@ -469,7 +469,10 @@ fn enrich_generic_identity(
}
}
}
if !provider_type.eq_ignore_ascii_case("codex") {
if !matches!(
provider_type.trim().to_ascii_lowercase().as_str(),
"codex" | "chatgpt_web"
) {
return;
}
if let Some(access_token) = token_payload