(api_key: impl Into<String>)
| 25 | |
| 26 | impl OpenRouterProvider { |
| 27 | pub fn new(api_key: impl Into<String>) -> Self { |
| 28 | Self::with_config(OpenRouterConfig { |
| 29 | api_key: api_key.into(), |
| 30 | base_url: None, |
| 31 | site_url: None, |
| 32 | site_name: None, |
| 33 | }) |
| 34 | } |
| 35 | |
| 36 | pub fn with_config(config: OpenRouterConfig) -> Self { |
| 37 | let models = vec![ |
nothing calls this directly
no outgoing calls
no test coverage detected