Create `OpenRouter` configuration
(api_key: impl Into<String>, model: impl Into<String>)
| 335 | |
| 336 | /// Create `OpenRouter` configuration |
| 337 | pub fn openrouter(api_key: impl Into<String>, model: impl Into<String>) -> Self { |
| 338 | Self::OpenRouter { |
| 339 | api_key: api_key.into(), |
| 340 | model: model.into(), |
| 341 | base_url: None, |
| 342 | site_url: None, |
| 343 | site_name: None, |
| 344 | } |
| 345 | } |
| 346 | |
| 347 | /// Create `OpenRouter` configuration with site information |
| 348 | pub fn openrouter_with_site( |
no outgoing calls