(content: impl Into<String>)
| 195 | } |
| 196 | |
| 197 | pub fn system(content: impl Into<String>) -> Self { |
| 198 | Self { |
| 199 | role: Role::System, |
| 200 | content: Content::Text(content.into()), |
| 201 | cache_control: None, |
| 202 | provider_options: None, |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | pub fn with_cache_control(mut self, cache_control: CacheControl) -> Self { |
| 207 | self.cache_control = Some(cache_control); |
nothing calls this directly
no outgoing calls
no test coverage detected