(&mut self, text: impl Into<String>)
| 145 | } |
| 146 | |
| 147 | pub fn add_reasoning(&mut self, text: impl Into<String>) { |
| 148 | self.parts.push(MessagePart { |
| 149 | id: format!("prt_{}", uuid::Uuid::new_v4()), |
| 150 | part_type: PartType::Reasoning { text: text.into() }, |
| 151 | created_at: Utc::now(), |
| 152 | message_id: None, |
| 153 | }); |
| 154 | } |
| 155 | |
| 156 | pub fn add_tool_call( |
| 157 | &mut self, |
nothing calls this directly
no outgoing calls
no test coverage detected