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

@@ -878,7 +878,7 @@ async fn model_change_projects_media_without_changing_live_or_replayed_history(
.await;
let mut builder = test_codex()
.with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing())
.with_catalog_discovery_api_key()
.with_config(move |config| {
config.model = Some(text_model_slug.to_string());
config
@@ -1080,7 +1080,7 @@ async fn generated_image_is_replayed_for_image_capable_models() -> Result<()> {
.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_config(move |config| {
config.model = Some(image_model_slug.to_string());
});
@@ -1177,7 +1177,7 @@ async fn model_change_from_generated_image_to_text_preserves_prior_generated_ima
.await;
let mut builder = test_codex()
.with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing())
.with_catalog_discovery_api_key()
.with_config(move |config| {
config.model = Some(image_model_slug.to_string());
});
@@ -1339,7 +1339,7 @@ async fn model_switch_to_smaller_model_updates_token_context_window() -> Result<
.await;
let mut builder = test_codex()
.with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing())
.with_catalog_discovery_api_key()
.with_config(|config| {
config.model = Some(large_model_slug.to_string());
});