Create `ByteDance ModelArk` configuration
(api_key: impl Into<String>, model: impl Into<String>)
| 286 | |
| 287 | /// Create `ByteDance ModelArk` configuration |
| 288 | pub fn bytedance(api_key: impl Into<String>, model: impl Into<String>) -> Self { |
| 289 | Self::ByteDance { |
| 290 | api_key: api_key.into(), |
| 291 | model: model.into(), |
| 292 | base_url: None, |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | /// Create `ByteDance ModelArk` configuration with custom base URL |
| 297 | pub fn bytedance_with_base_url( |
no outgoing calls