MCPcopy Create free account
hub / github.com/TanStack/ai / createErrorChunk

Function createErrorChunk

testing/panel/src/lib/recording.ts:167–180  ·  view source on GitHub ↗
(
    error: string,
    model: string,
    timestamp: number,
    id: string,
  )

Source from the content-addressed store, hash-verified

165 })
166
167 const createErrorChunk = (
168 error: string,
169 model: string,
170 timestamp: number,
171 id: string,
172 ): StreamChunk => ({
173 type: 'error',
174 error: {
175 message: error,
176 },
177 model,
178 timestamp,
179 id,
180 })
181
182 const createThinkingChunk = (
183 content: string,

Callers 1

createEventRecordingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected