(textId string, text string)
| 382 | } |
| 383 | |
| 384 | func (h *SSEHandlerCh) AiMsgTextDelta(textId string, text string) error { |
| 385 | resp := map[string]interface{}{ |
| 386 | "type": AiMsgTextDelta, |
| 387 | "id": textId, |
| 388 | "delta": text, |
| 389 | } |
| 390 | return h.WriteJsonData(resp) |
| 391 | } |
| 392 | |
| 393 | func (h *SSEHandlerCh) AiMsgTextEnd(textId string) error { |
| 394 | resp := map[string]interface{}{ |
no test coverage detected