MCPcopy Create free account
hub / github.com/docker/model-test / ChatResponse

Struct ChatResponse

models/chat.go:32–40  ·  view source on GitHub ↗

ChatResponse represents the response from processing a chat message

Source from the content-addressed store, hash-verified

30
31// ChatResponse represents the response from processing a chat message
32type 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
43type ToolCallResult struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected