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

Method AiMsgTextStart

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

Source from the content-addressed store, hash-verified

374}
375
376func (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
384func (h *SSEHandlerCh) AiMsgTextDelta(textId string, text string) error {
385 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