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

Method AiMsgReasoningDelta

pkg/web/sse/ssehandler.go:416–423  ·  view source on GitHub ↗
(reasoningId string, reasoning string)

Source from the content-addressed store, hash-verified

414}
415
416func (h *SSEHandlerCh) AiMsgReasoningDelta(reasoningId string, reasoning string) error {
417 resp := map[string]interface{}{
418 "type": AiMsgReasoningDelta,
419 "id": reasoningId,
420 "delta": reasoning,
421 }
422 return h.WriteJsonData(resp)
423}
424
425func (h *SSEHandlerCh) AiMsgReasoningEnd(reasoningId string) error {
426 resp := map[string]interface{}{

Callers 2

handleAnthropicEventFunction · 0.80
handleOpenAIEventFunction · 0.80

Calls 1

WriteJsonDataMethod · 0.95

Tested by

no test coverage detected