Override the preset model.
(mut self, model: ModelConfig)
| 322 | |
| 323 | /// Override the preset model. |
| 324 | pub fn with_model(mut self, model: ModelConfig) -> Self { |
| 325 | self.model = Some(model); |
| 326 | self |
| 327 | } |
| 328 | |
| 329 | /// Override the preset model using `provider/model` or a model id. |
| 330 | pub fn with_model_ref(mut self, model_ref: impl AsRef<str>) -> Self { |
no outgoing calls