MCPcopy
hub / github.com/wavetermdev/waveterm / AiMsgTextDelta

Method AiMsgTextDelta

pkg/web/sse/ssehandler.go:384–391  ·  view source on GitHub ↗
(textId string, text string)

Source from the content-addressed store, hash-verified

382}
383
384func (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
393func (h *SSEHandlerCh) AiMsgTextEnd(textId string) error {
394 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