Create a user prompt entry.
(content: impl Into<String>)
| 55 | impl CondensedEntry { |
| 56 | /// Create a user prompt entry. |
| 57 | pub fn user(content: impl Into<String>) -> Self { |
| 58 | Self { |
| 59 | entry_type: EntryType::User, |
| 60 | content: Some(content.into()), |
| 61 | tool_name: None, |
| 62 | tool_detail: None, |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | /// Create an assistant response entry. |
| 67 | pub fn assistant(content: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected