Get the model identifier for API calls
(&self)
| 171 | |
| 172 | /// Get the model identifier for API calls |
| 173 | fn get_model_identifier(&self) -> String { |
| 174 | if let Some(version) = &self.version { |
| 175 | format!("{}:{version}", self.model) |
| 176 | } else { |
| 177 | self.model.clone() |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | /// Check if this model supports function calling |
| 182 | fn model_supports_function_calling(&self) -> bool { |