Thrown when the inference output returned by the provider is invalid / does not match the expectations
↳ InferenceClientProviderOutputError
• new InferenceClientProviderOutputError(message): InferenceClientProviderOutputError
| Name | Type |
|---|---|
message | string |
InferenceClientProviderOutputError
InferenceClientError.constructor
• Optional cause: unknown
doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
• message: string
doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1077
• name: string
doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1076
• Optional stack: string
doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1078
▪ Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
▸ (err, stackTraces): any
| Name | Type |
|---|---|
err | Error |
stackTraces | CallSite[] |
any
InferenceClientError.prepareStackTrace
inference/node_modules/.pnpm/@types+node@18.13.0/node_modules/@types/node/globals.d.ts:11
▪ Static stackTraceLimit: number
InferenceClientError.stackTraceLimit
inference/node_modules/.pnpm/@types+node@18.13.0/node_modules/@types/node/globals.d.ts:13
▸ captureStackTrace(targetObject, constructorOpt?): void
Create .stack property on a target object
| Name | Type |
|---|---|
targetObject | object |
constructorOpt? | Function |
void
InferenceClientError.captureStackTrace
inference/node_modules/.pnpm/@types+node@18.13.0/node_modules/@types/node/globals.d.ts:4
< > Update on GitHub