fix: add missing fields to syntheses test settings payload

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
master
oabrivard 3 months ago
parent 7ec491b6ac
commit 54c637647b

@ -627,15 +627,21 @@ async fn generate_pipeline_resolves_model_from_admin_config() {
// Configure user settings with provider and categories // Configure user settings with provider and categories
let settings = serde_json::json!({ let settings = serde_json::json!({
"theme": "Intelligence Artificielle",
"max_age_days": 7,
"categories": ["Test Category"], "categories": ["Test Category"],
"ai_provider": "openai", "max_items_per_category": 4,
"ai_model": "", "max_articles_per_source": 3,
"ai_model_websearch": "",
"use_llm_for_source_links": false, "use_llm_for_source_links": false,
"use_brave_search": false, "use_brave_search": false,
"use_llm_for_article_extraction": false,
"article_history_days": 90, "article_history_days": 90,
"batch_size": 5 "batch_size": 5,
"search_agent_behavior": "",
"ai_provider": "openai",
"ai_model": "",
"ai_model_websearch": "",
"rate_limit_max_requests": null,
"rate_limit_time_window_seconds": null
}); });
let (settings_status, _) = app let (settings_status, _) = app
.put_with_session("/api/v1/settings", &settings, &session) .put_with_session("/api/v1/settings", &settings, &session)

Loading…
Cancel
Save