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

Method UpdateChatMessageByID

coderd/database/querier.go:1235–1235  ·  view source on GitHub ↗
(ctx context.Context, arg UpdateChatMessageByIDParams)

Source from the content-addressed store, hash-verified

1233 UpdateChatLastTurnSummary(ctx context.Context, arg UpdateChatLastTurnSummaryParams) (int64, error)
1234 UpdateChatMCPServerIDs(ctx context.Context, arg UpdateChatMCPServerIDsParams) (Chat, error)
1235 UpdateChatMessageByID(ctx context.Context, arg UpdateChatMessageByIDParams) (ChatMessage, error)
1236 UpdateChatModelConfig(ctx context.Context, arg UpdateChatModelConfigParams) (ChatModelConfig, error)
1237 UpdateChatPinOrder(ctx context.Context, arg UpdateChatPinOrderParams) error
1238 UpdateChatPlanModeByID(ctx context.Context, arg UpdateChatPlanModeByIDParams) (Chat, error)

Callers 4

TestAgentChatContextFunction · 0.65
UpdateChatMessageByIDMethod · 0.65
UpdateChatMessageByIDMethod · 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

TestAgentChatContextFunction · 0.52
TestChatsMethod · 0.52