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:
@@ -10,7 +10,6 @@ use codex_core::TurnInputRequest;
|
||||
use codex_core::TurnStartOptions;
|
||||
use codex_core::X_CODEX_ROUTING_HINT_HEADER;
|
||||
use codex_features::Feature;
|
||||
use codex_login::CodexAuth;
|
||||
use codex_protocol::ThreadId;
|
||||
use codex_protocol::config_types::ServiceTier;
|
||||
use codex_protocol::dynamic_tools::DynamicToolFunctionSpec;
|
||||
@@ -97,7 +96,7 @@ async fn spawned_agent_prewarm_handshake_inherits_effective_root_service_tier(
|
||||
};
|
||||
let test = test_codex()
|
||||
.with_model("gpt-5.4")
|
||||
.with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing())
|
||||
.with_catalog_discovery_api_key()
|
||||
.with_model_info_override("gpt-5.4", move |model| {
|
||||
model.service_tiers.push(ModelServiceTier {
|
||||
id: tier.to_string(),
|
||||
@@ -285,7 +284,7 @@ async fn detached_host_child_inherits_root_service_tier_at_prewarm_and_each_step
|
||||
.await;
|
||||
let test = test_codex()
|
||||
.with_model("gpt-5.4")
|
||||
.with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing())
|
||||
.with_catalog_discovery_api_key()
|
||||
.with_model_info_override("gpt-5.4", |model| {
|
||||
model.service_tiers.push(ModelServiceTier {
|
||||
id: "priority".into(),
|
||||
@@ -874,7 +873,7 @@ async fn websocket_v2_first_turn_sends_full_create_when_tier_changes_after_start
|
||||
})
|
||||
.collect();
|
||||
})
|
||||
.with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing())
|
||||
.with_catalog_discovery_api_key()
|
||||
.with_config(move |config| {
|
||||
for feature in [Feature::ResponsesWebsocketsV2, Feature::FastMode] {
|
||||
config
|
||||
|
||||
Reference in New Issue
Block a user