(content: impl Into<String>)
| 186 | } |
| 187 | |
| 188 | pub fn assistant(content: impl Into<String>) -> Self { |
| 189 | Self { |
| 190 | role: Role::Assistant, |
| 191 | content: Content::Text(content.into()), |
| 192 | cache_control: None, |
| 193 | provider_options: None, |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | pub fn system(content: impl Into<String>) -> Self { |
| 198 | Self { |
nothing calls this directly
no outgoing calls
no test coverage detected