(ctx context.Context)
| 3163 | } |
| 3164 | |
| 3165 | func (q *querier) GetChatPlanModeInstructions(ctx context.Context) (string, error) { |
| 3166 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
| 3167 | return "", err |
| 3168 | } |
| 3169 | return q.db.GetChatPlanModeInstructions(ctx) |
| 3170 | } |
| 3171 | |
| 3172 | func (q *querier) GetChatQueuedMessages(ctx context.Context, chatID uuid.UUID) ([]database.ChatQueuedMessage, error) { |
| 3173 | _, err := q.GetChatByID(ctx, chatID) |
nothing calls this directly
no test coverage detected