Test: adattati ai campi e alle funzioni rimossi (B)

I test che usavano i campi tolti dai provider (api_key, merge_system_messages, keyring_account,
hosted_web_search), il provider OpenAI integrato o i modelli ausiliari sono adattati; sono
cancellati solo i test del codice rimosso (chiave nel portachiavi per provider, elenco modelli
da /models, URL websocket OpenAI di fallback). Aggiornata la chiave attesa del portachiavi
per ~/.akode (come in 9df212cf).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-17 13:08:56 +01:00
parent 47d6f1eb6b
commit 05803fcbb5
35 changed files with 16 additions and 238 deletions

View File

@@ -67,7 +67,7 @@ async fn creation_attaches_to_original_task_and_survives_service_restart_scenari
let responses =
app_test_support::create_mock_responses_server_repeating_assistant("Ready").await;
app_test_support::MockResponsesConfig::new(&responses.uri())
.with_provider_config("merge_system_messages = false")
.with_provider_config("")
.write(home.path())?;
// Model-specific request settings come from the bundled catalog.
crate::test_support::ensure_test_config_toml(home.path());