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:
@@ -14,8 +14,8 @@ use akode_protocol::models::ImageDetail;
|
||||
use akode_protocol::models::ImageReference;
|
||||
use akode_protocol::models::ResponseItem;
|
||||
use anyhow::Result;
|
||||
use app_test_support::MockResponsesConfig;
|
||||
use app_test_support::TestAppServer;
|
||||
use app_test_support::write_mock_responses_config_toml_with_chatgpt_base_url;
|
||||
use pretty_assertions::assert_eq;
|
||||
use serde_json::json;
|
||||
use std::time::Duration;
|
||||
@@ -155,11 +155,7 @@ async fn thread_start_keeps_unknown_field_compatibility_with_named_permissions()
|
||||
#[tokio::test]
|
||||
async fn request_handlers_reject_remote_image_urls() -> Result<()> {
|
||||
let codex_home = TempDir::new()?;
|
||||
write_mock_responses_config_toml_with_chatgpt_base_url(
|
||||
codex_home.path(),
|
||||
"http://localhost/unused",
|
||||
"http://localhost/unused",
|
||||
)?;
|
||||
MockResponsesConfig::new("http://localhost/unused").write(codex_home.path())?;
|
||||
let mut mcp = TestAppServer::builder()
|
||||
.with_codex_home(codex_home.path())
|
||||
.build_initialized_with_timeout(DEFAULT_READ_TIMEOUT)
|
||||
|
||||
Reference in New Issue
Block a user