Create a model override that inherits the default provider.
(model: impl Into<String>)
| 89 | impl ModelConfig { |
| 90 | /// Create a model override that inherits the default provider. |
| 91 | pub fn new(model: impl Into<String>) -> Self { |
| 92 | Self { |
| 93 | model: model.into(), |
| 94 | provider: None, |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | /// Create a model override from provider and model parts. |
| 99 | pub fn with_provider(provider: impl Into<String>, model: impl Into<String>) -> Self { |
nothing calls this directly
no test coverage detected