Create an assistant response entry.
(content: impl Into<String>)
| 65 | |
| 66 | /// Create an assistant response entry. |
| 67 | pub fn assistant(content: impl Into<String>) -> Self { |
| 68 | Self { |
| 69 | entry_type: EntryType::Assistant, |
| 70 | content: Some(content.into()), |
| 71 | tool_name: None, |
| 72 | tool_detail: None, |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | /// Create a tool invocation entry. |
| 77 | pub fn tool(name: impl Into<String>, detail: Option<impl Into<String>>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected