MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / resetChatStore

Function resetChatStore

cli/src/hooks/use-freebuff-session.ts:267–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

265}
266
267async function resetChatStore(): Promise<void> {
268 const { useChatStore } = await import('../state/chat-store')
269 useChatStore.getState().reset()
270}
271
272interface RestartOpts {
273 resetChat?: boolean

Callers 3

AppFunction · 0.85
useAuthStateFunction · 0.85
restartFreebuffSessionFunction · 0.85

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected