(requestId: string)
| 335 | } |
| 336 | |
| 337 | public async stopStreaming(requestId: string): Promise<void> { |
| 338 | const abortController = this.abortControllers.get(requestId) |
| 339 | if (abortController) { |
| 340 | abortController.abort() |
| 341 | this.abortControllers.delete(requestId) |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | public async testConnection(config: LLMConfig): Promise<{ success: boolean; error?: string }> { |
| 346 | try { |