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

Method GetUserChatCustomPrompt

coderd/database/querier.go:774–774  ·  view source on GitHub ↗
(ctx context.Context, userID uuid.UUID)

Source from the content-addressed store, hash-verified

772 GetUserByID(ctx context.Context, id uuid.UUID) (User, error)
773 GetUserChatCompactionThreshold(ctx context.Context, arg GetUserChatCompactionThresholdParams) (string, error)
774 GetUserChatCustomPrompt(ctx context.Context, userID uuid.UUID) (string, error)
775 GetUserChatDebugLoggingEnabled(ctx context.Context, userID uuid.UUID) (bool, error)
776 GetUserChatPersonalModelOverride(ctx context.Context, arg GetUserChatPersonalModelOverrideParams) (string, error)
777 // Returns the total spend for a user in the given period.

Callers 5

TestUserMethod · 0.65
UserPromptMethod · 0.65

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 1

TestUserMethod · 0.52