( userInput: string, systemPromptText?: string, )
| 252 | } |
| 253 | |
| 254 | public async streamPattern( |
| 255 | userInput: string, |
| 256 | systemPromptText?: string, |
| 257 | ): Promise<ReadableStream<StreamResponse>> { |
| 258 | const request = await this.createChatRequest( |
| 259 | userInput, |
| 260 | systemPromptText, |
| 261 | true, |
| 262 | ); |
| 263 | return this.fetchStream(request); |
| 264 | } |
| 265 | |
| 266 | public async streamChat( |
| 267 | userInput: string, |
nothing calls this directly
no test coverage detected