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

Method UpsertChatAdvisorConfig

coderd/database/querier.go:1377–1377  ·  view source on GitHub ↗

UpsertChatAdvisorConfig stores the deployment-wide runtime configuration for the experimental chat advisor. Callers marshal codersdk.AdvisorConfig to JSON before invoking this query.

(ctx context.Context, value string)

Source from the content-addressed store, hash-verified

1375 // for the experimental chat advisor. Callers marshal codersdk.AdvisorConfig
1376 // to JSON before invoking this query.
1377 UpsertChatAdvisorConfig(ctx context.Context, value string) error
1378 UpsertChatAutoArchiveDays(ctx context.Context, autoArchiveDays int32) error
1379 UpsertChatComputerUseProvider(ctx context.Context, provider string) error
1380 // UpsertChatDebugLoggingAllowUsers updates the runtime admin setting that

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