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

@@ -367,7 +367,7 @@ async fn responses_lite_uses_standalone_web_search_and_image_generation() -> Res
)
.await;
let auth = CodexAuth::create_dummy_chatgpt_auth_for_testing();
let auth = CodexAuth::from_api_key("Test API Key");
let extensions = responses_extensions(&auth);
let mut builder = test_codex()
@@ -657,7 +657,7 @@ async fn responses_lite_omits_hosted_tools_without_standalone_extensions() -> Re
.await;
let mut builder = test_codex()
.with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing())
.with_auth(CodexAuth::from_api_key("Test API Key"))
.with_model_info_override("gpt-5.4", |model_info| {
model_info.use_responses_lite = true;
configure_image_capable_model(model_info);
@@ -690,7 +690,7 @@ async fn non_lite_uses_standalone_image_generation_by_default() -> Result<()> {
)
.await;
let auth = CodexAuth::create_dummy_chatgpt_auth_for_testing();
let auth = CodexAuth::from_api_key("Test API Key");
let extensions = responses_extensions(&auth);
let mut builder = test_codex()
.with_auth(auth)