diff --git a/internal/core/plugin_daemon/tool_service.go b/internal/core/plugin_daemon/tool_service.go index 4b3ba50..c645c1b 100644 --- a/internal/core/plugin_daemon/tool_service.go +++ b/internal/core/plugin_daemon/tool_service.go @@ -57,6 +57,7 @@ func InvokeTool( for response.Next() { item, err := response.Read() if err != nil { + newResponse.WriteError(err) return }