Theo Docs
TheoKitTheoKit-SDKTheoUITheo PaaS
API reference

StreamObjectError

Error thrown by Agent.streamObject when the model refuses to call

StreamObjectError

Auto-generated from TypeDoc on each build. Edit the JSDoc in packages/sdk/src/ to change this page.

Error thrown by Agent.streamObject when the model refuses to call the synthetic output tool or when all retries fail to produce a schema-valid object. Same code taxonomy as GenerateObjectError.

Signature

class StreamObjectError {
  captureStackTrace(...): ...
  prepareStackTrace(...): ...
}

Kind

class

Source

packages/sdk/src/stream-object.ts:79

On this page