(content: impl Into<String>, tool_calls: Vec<ToolCall>)
| 56 | } |
| 57 | |
| 58 | pub fn assistant_with_tools(content: impl Into<String>, tool_calls: Vec<ToolCall>) -> Self { |
| 59 | Self { |
| 60 | role: MessageRole::Assistant, |
| 61 | content: content.into(), |
| 62 | tool_calls, |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | pub fn tool_result( |
| 67 | _tool_call_id: impl Into<String>, |
nothing calls this directly
no outgoing calls
no test coverage detected