( ctx context.Context, chat database.Chat, logger slog.Logger, )
| 9736 | } |
| 9737 | |
| 9738 | func (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 | |
| 9749 | func (p *Server) setLastTurnSummaryAsync( |
| 9750 | ctx context.Context, |
no test coverage detected