(&self)
| 14 | } |
| 15 | |
| 16 | fn response(&self) -> LlmResponse { |
| 17 | LlmResponse { |
| 18 | message: Message { |
| 19 | role: "assistant".to_string(), |
| 20 | content: vec![ContentBlock::Text { |
| 21 | text: self.text.clone(), |
| 22 | }], |
| 23 | reasoning_content: None, |
| 24 | }, |
| 25 | usage: TokenUsage { |
| 26 | prompt_tokens: 1, |
| 27 | completion_tokens: 1, |
| 28 | total_tokens: 2, |
| 29 | cache_read_tokens: None, |
| 30 | cache_write_tokens: None, |
| 31 | }, |
| 32 | stop_reason: Some("end_turn".to_string()), |
| 33 | meta: None, |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | #[derive(Clone)] |
no outgoing calls
no test coverage detected