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

Clarify tool event behavior of fronted and backend

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

描述

The current AG-UI tool calling protocol mixes two distinct modes:

1. The tool call is actually executed by the backend/remote side, and events are synchronized to the frontend for display purposes only.
2. The tool call is executed by the frontend/client side, with results returned to the backend/remote side — similar to Human-in-the-Loop (HITL).

However, the current protocol specification does not clearly distinguish between these two modes. How should developers differentiate between them? The documentation should be improved to clarify this.

Additionally, for function calls, parameters should support the `dict` type for greater clarity and precision. Relying solely on `string` types introduces unnecessary serialization/deserialization overhead.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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