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

Struct ChatSession

models/chat.go:24–29  ·  view source on GitHub ↗

ChatSession represents a conversation session with message history

Source from the content-addressed store, hash-verified

22
23// ChatSession represents a conversation session with message history
24type ChatSession struct {
25 SessionID string `json:"session_id"`
26 Messages []ChatMessage `json:"messages"`
27 CreatedAt time.Time `json:"created_at"`
28 UpdatedAt time.Time `json:"updated_at"`
29}
30
31// ChatResponse represents the response from processing a chat message
32type ChatResponse struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected