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

Function runGenerationError

packages/ai/src/activities/middleware/run.ts:82–88  ·  view source on GitHub ↗
(
  middleware: ReadonlyArray<GenerationMiddleware> | undefined,
  ctx: GenerationMiddlewareContext,
  info: GenerationErrorInfo,
)

Source from the content-addressed store, hash-verified

80}
81
82export function runGenerationError(
83 middleware: ReadonlyArray<GenerationMiddleware> | undefined,
84 ctx: GenerationMiddlewareContext,
85 info: GenerationErrorInfo,
86): Promise<void> {
87 return run(middleware, (mw) => mw.onError?.(ctx, info))
88}

Callers 6

runGenerateTranscriptionFunction · 0.90
runGenerateAudioFunction · 0.90
runGenerateImageFunction · 0.90
runCreateVideoJobFunction · 0.90
runGenerateSpeechFunction · 0.90

Calls 1

runFunction · 0.70

Tested by

no test coverage detected