| 4564 | } |
| 4565 | |
| 4566 | type Chat struct { |
| 4567 | ID uuid.UUID `db:"id" json:"id"` |
| 4568 | OwnerID uuid.UUID `db:"owner_id" json:"owner_id"` |
| 4569 | WorkspaceID uuid.NullUUID `db:"workspace_id" json:"workspace_id"` |
| 4570 | Title string `db:"title" json:"title"` |
| 4571 | Status ChatStatus `db:"status" json:"status"` |
| 4572 | WorkerID uuid.NullUUID `db:"worker_id" json:"worker_id"` |
| 4573 | StartedAt sql.NullTime `db:"started_at" json:"started_at"` |
| 4574 | HeartbeatAt sql.NullTime `db:"heartbeat_at" json:"heartbeat_at"` |
| 4575 | CreatedAt time.Time `db:"created_at" json:"created_at"` |
| 4576 | UpdatedAt time.Time `db:"updated_at" json:"updated_at"` |
| 4577 | ParentChatID uuid.NullUUID `db:"parent_chat_id" json:"parent_chat_id"` |
| 4578 | RootChatID uuid.NullUUID `db:"root_chat_id" json:"root_chat_id"` |
| 4579 | LastModelConfigID uuid.UUID `db:"last_model_config_id" json:"last_model_config_id"` |
| 4580 | Archived bool `db:"archived" json:"archived"` |
| 4581 | LastError pqtype.NullRawMessage `db:"last_error" json:"last_error"` |
| 4582 | Mode NullChatMode `db:"mode" json:"mode"` |
| 4583 | MCPServerIDs []uuid.UUID `db:"mcp_server_ids" json:"mcp_server_ids"` |
| 4584 | Labels StringMap `db:"labels" json:"labels"` |
| 4585 | BuildID uuid.NullUUID `db:"build_id" json:"build_id"` |
| 4586 | AgentID uuid.NullUUID `db:"agent_id" json:"agent_id"` |
| 4587 | PinOrder int32 `db:"pin_order" json:"pin_order"` |
| 4588 | LastReadMessageID sql.NullInt64 `db:"last_read_message_id" json:"last_read_message_id"` |
| 4589 | LastInjectedContext pqtype.NullRawMessage `db:"last_injected_context" json:"last_injected_context"` |
| 4590 | DynamicTools pqtype.NullRawMessage `db:"dynamic_tools" json:"dynamic_tools"` |
| 4591 | OrganizationID uuid.UUID `db:"organization_id" json:"organization_id"` |
| 4592 | PlanMode NullChatPlanMode `db:"plan_mode" json:"plan_mode"` |
| 4593 | ClientType ChatClientType `db:"client_type" json:"client_type"` |
| 4594 | LastTurnSummary sql.NullString `db:"last_turn_summary" json:"last_turn_summary"` |
| 4595 | UserACL ChatACL `db:"user_acl" json:"user_acl"` |
| 4596 | GroupACL ChatACL `db:"group_acl" json:"group_acl"` |
| 4597 | OwnerUsername string `db:"owner_username" json:"owner_username"` |
| 4598 | OwnerName string `db:"owner_name" json:"owner_name"` |
| 4599 | } |
| 4600 | |
| 4601 | type ChatDebugRun struct { |
| 4602 | ID uuid.UUID `db:"id" json:"id"` |
nothing calls this directly
no outgoing calls
no test coverage detected