aKode: eliminato chatgpt_base_url ormai inutilizzato
- La chiave è ancora accettata nei file di configurazione ma ignorata. - Schemi JSON e TypeScript dell'app-server rigenerati; i bundle ora si chiamano akode_app_server_protocol*.schemas.json, come produce il generatore. - app-server: niente più avviso unused_mut nella build release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -82,7 +82,6 @@ use app_test_support::create_mock_responses_server_sequence;
|
||||
use app_test_support::create_mock_responses_server_sequence_unchecked;
|
||||
use app_test_support::format_with_current_shell_display;
|
||||
use app_test_support::write_api_key_auth;
|
||||
use app_test_support::write_mock_responses_config_toml_with_chatgpt_base_url;
|
||||
use app_test_support::write_models_cache;
|
||||
use app_test_support::write_models_cache_with_models;
|
||||
use core_test_support::mcp_test_server::CALENDAR_LIST_EVENTS_TOOL_NAME;
|
||||
@@ -535,9 +534,7 @@ async fn turn_start_with_empty_input_runs_model_request() -> Result<()> {
|
||||
let server = create_mock_responses_server_sequence_unchecked(responses).await;
|
||||
|
||||
let codex_home = TempDir::new()?;
|
||||
MockResponsesConfig::new(&server.uri())
|
||||
.with_root_config(&format!("chatgpt_base_url = \"{}\"", server.uri()))
|
||||
.write(codex_home.path())?;
|
||||
MockResponsesConfig::new(&server.uri()).write(codex_home.path())?;
|
||||
|
||||
let mut mcp = TestAppServer::builder()
|
||||
.with_codex_home(codex_home.path())
|
||||
@@ -1473,11 +1470,7 @@ async fn turn_start_forwards_trigger_and_source_after_retry() -> Result<()> {
|
||||
.await;
|
||||
|
||||
let codex_home = TempDir::new()?;
|
||||
write_mock_responses_config_toml_with_chatgpt_base_url(
|
||||
codex_home.path(),
|
||||
&server.uri(),
|
||||
&server.uri(),
|
||||
)?;
|
||||
MockResponsesConfig::new(&server.uri()).write(codex_home.path())?;
|
||||
let config_path = codex_home.path().join("config.toml");
|
||||
let config = std::fs::read_to_string(&config_path)?
|
||||
.replace("stream_max_retries = 0", "stream_max_retries = 1");
|
||||
@@ -4022,10 +4015,7 @@ async fn turn_start_emits_spawn_agent_item_with_model_metadata_v2() -> Result<()
|
||||
let codex_home = TempDir::new()?;
|
||||
MockResponsesConfig::new(&server.uri())
|
||||
.enable_feature(Feature::Collab)
|
||||
.with_root_config(&format!(
|
||||
"chatgpt_base_url = \"{}\"\ntools.update_plan.enabled = true",
|
||||
server.uri()
|
||||
))
|
||||
.with_root_config("tools.update_plan.enabled = true")
|
||||
.write(codex_home.path())?;
|
||||
|
||||
let mut mcp = TestAppServer::builder()
|
||||
@@ -4245,7 +4235,6 @@ async fn direct_input_to_multi_agent_v2_subagent_is_rejected(
|
||||
MockResponsesConfig::new(&server.uri())
|
||||
.enable_feature(Feature::MultiAgentV2)
|
||||
.enable_feature(Feature::Goals)
|
||||
.with_root_config(&format!("chatgpt_base_url = \"{}\"", server.uri()))
|
||||
.write(codex_home.path())?;
|
||||
write_models_cache(codex_home.path()).await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user