(content: impl Into<String>)
| 40 | } |
| 41 | |
| 42 | pub fn user(content: impl Into<String>) -> Self { |
| 43 | Self { |
| 44 | role: MessageRole::User, |
| 45 | content: content.into(), |
| 46 | tool_calls: Vec::new(), |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | pub fn assistant(content: impl Into<String>) -> Self { |
| 51 | Self { |