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

Method maybeClearLastTurnSummaryAsync

coderd/x/chatd/chatd.go:9738–9747  ·  view source on GitHub ↗
(
	ctx context.Context,
	chat database.Chat,
	logger slog.Logger,
)

Source from the content-addressed store, hash-verified

9736}
9737
9738func (p *Server) maybeClearLastTurnSummaryAsync(
9739 ctx context.Context,
9740 chat database.Chat,
9741 logger slog.Logger,
9742) {
9743 if chat.ParentChatID.Valid {
9744 return
9745 }
9746 p.clearLastTurnSummaryAsync(ctx, chat, logger)
9747}
9748
9749func (p *Server) setLastTurnSummaryAsync(
9750 ctx context.Context,

Callers 1

processChatMethod · 0.95

Calls 1

Tested by

no test coverage detected