| 121 | /// Final result of an agentic tool-use session. |
| 122 | #[derive(Debug, Clone, Serialize, Deserialize)] |
| 123 | pub struct AgentResult { |
| 124 | pub answer: String, |
| 125 | pub model: String, |
| 126 | pub total_usage: TokenUsage, |
| 127 | pub turns: u8, |
| 128 | pub tool_trace: Vec<ToolTraceEntry>, |
| 129 | } |
| 130 | |
| 131 | /// Record of a single tool invocation for observability. |
| 132 | #[derive(Debug, Clone, Serialize, Deserialize)] |
nothing calls this directly
no outgoing calls
no test coverage detected