WIP fase 2b-2: rimosso login ChatGPT/OAuth/device code, agent/workload identity, backend-client; resta solo chiave API (test non tutti verdi)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-10 06:00:44 +01:00
parent 82347a58ed
commit 231e8cd136
661 changed files with 4924 additions and 64817 deletions

View File

@@ -86,7 +86,7 @@ async fn start_test(server: &MockServer, effort: ReasoningEffort, tier: &str) ->
.await;
let tier = tier.to_string();
test_codex()
.with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing())
.with_auth(CodexAuth::from_api_key("Test API Key"))
.with_model("gpt-5.5")
.with_config(move |config| {
config.model_reasoning_effort = Some(effort);
@@ -242,7 +242,7 @@ async fn reopening_consumes_catalog_refreshed_while_chat_was_closed() -> Result<
.list_models(RefreshStrategy::Online, test.config.http_client_factory())
.await;
let resumed = test_codex()
.with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing())
.with_catalog_discovery_api_key()
.with_model("gpt-5.5")
.with_models_manager(manager)
.with_config(|config| {