ChatResponse represents the response from processing a chat message
| 30 | |
| 31 | // ChatResponse represents the response from processing a chat message |
| 32 | type ChatResponse struct { |
| 33 | Message string `json:"message"` |
| 34 | SessionID string `json:"session_id"` |
| 35 | CartSummary *CartSummary `json:"cart_summary,omitempty"` |
| 36 | Timestamp time.Time `json:"timestamp"` |
| 37 | ToolCalls []ToolCallResult `json:"tool_calls,omitempty"` |
| 38 | LLMRequests int `json:"llm_requests"` |
| 39 | LLMTotalTime time.Duration `json:"llm_total_time"` |
| 40 | } |
| 41 | |
| 42 | // ToolCallResult represents the result of executing a tool call |
| 43 | type ToolCallResult struct { |
nothing calls this directly
no outgoing calls
no test coverage detected