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

Method finalizeSuccessfulTurnStatusLabelAndPush

coderd/x/chatd/chatd.go:9646–9656  ·  view source on GitHub ↗
(
	ctx context.Context,
	chat database.Chat,
	status database.ChatStatus,
	runResult runChatResult,
	logger slog.Logger,
)

Source from the content-addressed store, hash-verified

9644}
9645
9646func (p *Server) finalizeSuccessfulTurnStatusLabelAndPush(
9647 ctx context.Context,
9648 chat database.Chat,
9649 status database.ChatStatus,
9650 runResult runChatResult,
9651 logger slog.Logger,
9652) {
9653 p.finalizeSuccessfulTurnStatusLabelWithAfterFunc(ctx, chat, status, runResult, logger, func(finalizeCtx context.Context, statusLabel string) {
9654 p.dispatchSuccessfulTurnPush(finalizeCtx, chat, statusLabel, logger)
9655 })
9656}
9657
9658func (p *Server) finalizeSuccessfulTurnStatusLabelWithAfterFunc(
9659 ctx context.Context,

Tested by

no test coverage detected