(userID uuid.UUID)
| 418 | } |
| 419 | |
| 420 | func (c *chatConfigCache) InvalidateUserPrompt(userID uuid.UUID) { |
| 421 | c.mu.Lock() |
| 422 | c.userPrompts.Delete(userID) |
| 423 | c.userPromptEpoch++ |
| 424 | c.mu.Unlock() |
| 425 | } |
| 426 | |
| 427 | // InvalidateAdvisorConfig drops the cached advisor configuration so the |
| 428 | // next AdvisorConfig call re-fetches from the database. Called from the |