AI message writing methods
(messageId string)
| 366 | // AI message writing methods |
| 367 | |
| 368 | func (h *SSEHandlerCh) AiMsgStart(messageId string) error { |
| 369 | resp := map[string]interface{}{ |
| 370 | "type": AiMsgStart, |
| 371 | "messageId": messageId, |
| 372 | } |
| 373 | return h.WriteJsonData(resp) |
| 374 | } |
| 375 | |
| 376 | func (h *SSEHandlerCh) AiMsgTextStart(textId string) error { |
| 377 | resp := map[string]interface{}{ |
no test coverage detected