MCPcopy Index your code
hub / github.com/simstudioai/sim / resetBuffer

Function resetBuffer

apps/sim/lib/copilot/request/session/buffer.ts:97–99  ·  view source on GitHub ↗
(streamId: string)

Source from the content-addressed store, hash-verified

95}
96
97export async function resetBuffer(streamId: string): Promise<void> {
98 await clearBuffer(streamId, 'reset_outbox')
99}
100
101export async function clearBuffer(streamId: string, operation = 'clear_outbox'): Promise<void> {
102 await withRedisRetry({ operation, streamId }, async (redis) => {

Callers 1

startFunction · 0.90

Calls 1

clearBufferFunction · 0.85

Tested by

no test coverage detected