MCPcopy Index your code
hub / github.com/coder/coder / GetChatExploreModelOverride

Method GetChatExploreModelOverride

coderd/database/dbauthz/dbauthz.go:2991–2996  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

2989}
2990
2991func (q *querier) GetChatExploreModelOverride(ctx context.Context) (string, error) {
2992 if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceDeploymentConfig); err != nil {
2993 return "", err
2994 }
2995 return q.db.GetChatExploreModelOverride(ctx)
2996}
2997
2998func (q *querier) GetChatFileByID(ctx context.Context, id uuid.UUID) (database.ChatFile, error) {
2999 file, err := q.db.GetChatFileByID(ctx, id)

Callers

nothing calls this directly

Calls 2

authorizeContextMethod · 0.95

Tested by

no test coverage detected