chore: remove unused test_settings() function from prompts.rs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
master
oabrivard 3 months ago
parent 885af2d147
commit 78844c4ebe

@ -179,29 +179,9 @@ pub fn build_article_classify_prompt(
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use super::*; use super::*;
use crate::models::settings::UserSettings;
use chrono::Utc; use chrono::Utc;
use uuid::Uuid; use uuid::Uuid;
fn test_settings() -> UserSettings {
UserSettings {
user_id: Uuid::nil(),
max_articles_per_source: 3,
max_links_per_source: 8,
use_brave_search: false,
article_history_days: 90,
batch_size: 5,
source_extraction_window: 3,
search_agent_behavior: String::new(),
ai_provider: String::new(),
ai_model: String::new(),
ai_model_websearch: String::new(),
rate_limit_max_requests: None,
rate_limit_time_window_seconds: None,
updated_at: Utc::now(),
}
}
// Test theme/categories for search prompt tests // Test theme/categories for search prompt tests
fn test_theme() -> String { fn test_theme() -> String {
"Intelligence Artificielle".to_string() "Intelligence Artificielle".to_string()

Loading…
Cancel
Save