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