ag-ui-protocol / ag-ui-protocol/ag-ui

[Bug]: The TOOL_CALL_RESULT event is being emitted for the backend tool

未關閉
#2,131 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement Feature Request
主要語言
Python
星號
15.9k
分支
1.4k
平均合併
1 天 17 小時
30 天內合併 PR
163

描述

### Pre-flight Checklist

- [x] I have searched [existing issues](https://github.com/ag-ui-protocol/ag-ui/issues) and this hasn't been reported yet.
- [x] I am using the **latest** version AG-UI.

### Describe the Bug

I am using Google ADK integration with some backend tools (including skills etc)

I am noticing that the to the client application TOOL_CALL_XX events are being emitted for the backend tools also. For example ADK invoke list skills, read skill etc and the output of all that goes to the frontend.

I would think that in a pure server-client setup (say fastapi backend and react frontend), I would not like to send the response of tool calls in the backend to the frontend.

### Steps to Reproduce

Any simple ADK example with a tool should show this

### Expected Behavior

I am expecting the results of the backend tools should not be sent to the frontend.

### Environment

```text
ag-ui-adk>=0.7.0
```

### Screenshots

_No response_

### Logs & Errors

```shell

```

### Additional Context

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。