Skip to content

Commit

Permalink
fix: InvokeTool response should correctly handle error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Nov 28, 2024
1 parent 894c47b commit 005a32a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/core/plugin_daemon/tool_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func InvokeTool(
for response.Next() {
item, err := response.Read()
if err != nil {
newResponse.WriteError(err)
return
}

Expand Down

0 comments on commit 005a32a

Please sign in to comment.