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

Method InvalidateUserPrompt

coderd/x/chatd/configcache.go:420–425  ·  view source on GitHub ↗
(userID uuid.UUID)

Source from the content-addressed store, hash-verified

418}
419
420func (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

Calls 3

DeleteMethod · 0.65
LockMethod · 0.45
UnlockMethod · 0.45