ChatMessage represents a single message in a chat conversation
| 15 | |
| 16 | // ChatMessage represents a single message in a chat conversation |
| 17 | type ChatMessage struct { |
| 18 | Role string `json:"role"` |
| 19 | Content string `json:"content"` |
| 20 | Timestamp time.Time `json:"timestamp"` |
| 21 | } |
| 22 | |
| 23 | // ChatSession represents a conversation session with message history |
| 24 | type ChatSession struct { |
nothing calls this directly
no outgoing calls
no test coverage detected