1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use std::time::Duration; pub mod timeout { use super::Duration; pub const CONNECT_TIMEOUT: Duration = Duration::from_secs(30); } pub mod tokens { pub const THINKING_BUDGET: u32 = 8192; } pub mod defaults { pub const RELEVANCE_SCORE: f32 = 0.85; pub const ENDPOINT: &str = "https://generativelanguage.googleapis.com/v1beta"; }