package model import ( "time" "github.com/google/uuid" ) // AskThread binds a conversation to a profile. type AskThread struct { ID uuid.UUID `json:"id"` UserID uuid.UUID `json:"user_id"` ProfileID uuid.UUID `json:"profile_id"` Scene *string `json:"scene,omitempty"` CreatedAt time.Time `json:"created_at"` } // AskMessage is one turn in a thread. type AskMessage struct { ID uuid.UUID `json:"id"` ThreadID uuid.UUID `json:"thread_id"` Role string `json:"role"` Content string `json:"content"` CreatedAt time.Time `json:"created_at"` }