()
| 391 | } |
| 392 | |
| 393 | func (c *chatConfigCache) currentUserPromptEpoch() uint64 { |
| 394 | c.mu.RLock() |
| 395 | epoch := c.userPromptEpoch |
| 396 | c.mu.RUnlock() |
| 397 | return epoch |
| 398 | } |
| 399 | |
| 400 | func (c *chatConfigCache) storeUserPrompt(epoch uint64, userID uuid.UUID, prompt string) { |
| 401 | c.mu.Lock() |