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

Method UpsertChatSystemPrompt

coderd/database/querier.go:1395–1395  ·  view source on GitHub ↗
(ctx context.Context, value string)

Source from the content-addressed store, hash-verified

1393 UpsertChatPlanModeInstructions(ctx context.Context, value string) error
1394 UpsertChatRetentionDays(ctx context.Context, retentionDays int32) error
1395 UpsertChatSystemPrompt(ctx context.Context, value string) error
1396 UpsertChatTemplateAllowlist(ctx context.Context, templateAllowlist string) error
1397 UpsertChatTitleGenerationModelOverride(ctx context.Context, value string) error
1398 UpsertChatUsageLimitConfig(ctx context.Context, arg UpsertChatUsageLimitConfigParams) (ChatUsageLimitConfig, error)

Callers 5

TestChatSystemPromptFunction · 0.65
putChatSystemPromptMethod · 0.65
TestChatsMethod · 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 2

TestChatSystemPromptFunction · 0.52
TestChatsMethod · 0.52