MCPcopy
hub / github.com/wavetermdev/waveterm / Delete

Method Delete

pkg/aiusechat/chatstore/chatstore.go:45–50  ·  view source on GitHub ↗
(chatId string)

Source from the content-addressed store, hash-verified

43}
44
45func (cs *ChatStore) Delete(chatId string) {
46 cs.lock.Lock()
47 defer cs.lock.Unlock()
48
49 delete(cs.chats, chatId)
50}
51
52func (cs *ChatStore) CountUserMessages(chatId string) int {
53 cs.lock.Lock()

Callers 5

RunAIChatFunction · 0.45
RemoveToolUseCallFunction · 0.45
RemoveToolUseCallFunction · 0.45
RemoveToolUseCallFunction · 0.45

Calls

no outgoing calls

Tested by 1