(ctx context.Context)
| 6543 | } |
| 6544 | |
| 6545 | func (q *querier) UnsetDefaultChatModelConfigs(ctx context.Context) error { |
| 6546 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceSystem); err != nil { |
| 6547 | return err |
| 6548 | } |
| 6549 | return q.db.UnsetDefaultChatModelConfigs(ctx) |
| 6550 | } |
| 6551 | |
| 6552 | func (q *querier) UpdateAIBridgeInterceptionEnded(ctx context.Context, params database.UpdateAIBridgeInterceptionEndedParams) (database.AIBridgeInterception, error) { |
| 6553 | if err := q.authorizeAIBridgeInterceptionAction(ctx, policy.ActionUpdate, params.ID); err != nil { |
nothing calls this directly
no test coverage detected