(textId string)
| 374 | } |
| 375 | |
| 376 | func (h *SSEHandlerCh) AiMsgTextStart(textId string) error { |
| 377 | resp := map[string]interface{}{ |
| 378 | "type": AiMsgTextStart, |
| 379 | "id": textId, |
| 380 | } |
| 381 | return h.WriteJsonData(resp) |
| 382 | } |
| 383 | |
| 384 | func (h *SSEHandlerCh) AiMsgTextDelta(textId string, text string) error { |
| 385 | resp := map[string]interface{}{ |
no test coverage detected