(finishReason string, usage interface{})
| 399 | } |
| 400 | |
| 401 | func (h *SSEHandlerCh) AiMsgFinish(finishReason string, usage interface{}) error { |
| 402 | resp := map[string]interface{}{ |
| 403 | "type": AiMsgFinish, |
| 404 | } |
| 405 | return h.WriteJsonData(resp) |
| 406 | } |
| 407 | |
| 408 | func (h *SSEHandlerCh) AiMsgReasoningStart(reasoningId string) error { |
| 409 | resp := map[string]interface{}{ |
no test coverage detected