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

[Feature]: `ToolCallArgsEvent` should have a `parentMessageId` field.

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

描述

### Pre-flight Checklist

- [x] I have searched existing issues and this hasn't been requested yet.

### Problem or Motivation

The "started" and "chunk" events have this field, the "args" event should have it as well.

When applying events directly as patches to messages, the lack of `parentMessageId` requires a double search through each message, then all the tools for each message.

### Proposed Solution

Add a `parentMessageId` field to the `ToolCallArgsEvent`.

### Alternatives Considered

_No response_

### Additional Context

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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