Default implementation of transform, which buffers input and then calls stream. Subclasses should override this method if they can start producing output while input is still being generated.
transform(
generator: AsyncGenerator<StructuredToolCallInput<ZodObject<__type, "strip", ZodTypeAny, __type, __type>, __type>>,
options: Partial<CallOptions>
): AsyncGenerator<any>| Name | Type | Description |
|---|---|---|
generator* | AsyncGenerator<StructuredToolCallInput<ZodObject<__type, "strip", ZodTypeAny, __type, __type>, __type>> | |
options* | Partial<CallOptions> |