* 流式聊天
(
messages: LLMMessage[],
onChunk: (chunk: string) => void
)
| 209 | * 流式聊天 |
| 210 | */ |
| 211 | public async streamChat( |
| 212 | messages: LLMMessage[], |
| 213 | onChunk: (chunk: string) => void |
| 214 | ): Promise<string> { |
| 215 | return await this.llmManager.streamChat(messages, onChunk); |
| 216 | } |
| 217 | |
| 218 | /** |
| 219 | * 系统提示词聊天 |
no outgoing calls
no test coverage detected