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

Method AiMsgToolInputDelta

pkg/web/sse/ssehandler.go:442–449  ·  view source on GitHub ↗
(toolCallId, inputTextDelta string)

Source from the content-addressed store, hash-verified

440}
441
442func (h *SSEHandlerCh) AiMsgToolInputDelta(toolCallId, inputTextDelta string) error {
443 resp := map[string]interface{}{
444 "type": AiMsgToolInputDelta,
445 "toolCallId": toolCallId,
446 "inputTextDelta": inputTextDelta,
447 }
448 return h.WriteJsonData(resp)
449}
450
451func (h *SSEHandlerCh) AiMsgToolInputAvailable(toolCallId, toolName string, input json.RawMessage) error {
452 resp := map[string]interface{}{

Callers 1

handleAnthropicEventFunction · 0.80

Calls 1

WriteJsonDataMethod · 0.95

Tested by

no test coverage detected