Function
streamText
(options: GenerateTextOptions<any>)
Source from the content-addressed store, hash-verified
| 1824 | ExtractServices<Options> | LanguageModel |
| 1825 | > |
| 1826 | } = (options: GenerateTextOptions<any>): Stream.Stream< |
| 1827 | Response.StreamPart<{}>, |
| 1828 | AiError.AiError, |
| 1829 | LanguageModel |
| 1830 | > => |
| 1831 | Stream.unwrap(Effect.map( |
| 1832 | Effect.service(LanguageModel), |
| 1833 | (model) => model.streamText(options as any) |
| 1834 | )) as any |
| 1835 | |
| 1836 | // ============================================================================= |
| 1837 | // Tool Approval Helpers |
Callers
nothing calls this directly
Tested by
no test coverage detected