MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / AiMsgTextEnd

Method AiMsgTextEnd

pkg/web/sse/ssehandler.go:393–399  ·  view source on GitHub ↗
(textId string)

Source from the content-addressed store, hash-verified

391}
392
393func (h *SSEHandlerCh) AiMsgTextEnd(textId string) error {
394 resp := map[string]interface{}{
395 "type": AiMsgTextEnd,
396 "id": textId,
397 }
398 return h.WriteJsonData(resp)
399}
400
401func (h *SSEHandlerCh) AiMsgFinish(finishReason string, usage interface{}) error {
402 resp := map[string]interface{}{

Callers 4

processGeminiStreamFunction · 0.80
processChatStreamFunction · 0.80
handleAnthropicEventFunction · 0.80
handleOpenAIEventFunction · 0.80

Calls 1

WriteJsonDataMethod · 0.95

Tested by

no test coverage detected