anthropics / anthropics/claude-agent-sdk-python

ResultMessage is being sent while background agent is still working and turn is finished

未關閉
#1,138 4 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
8.1k
分支
1.3k
PR 合併指標
PR 指標待擷取

描述

I'm using the SDK in streaming mode (calling `client.query()` and `client.receive_response()`), somewhere between `0.2.110` and `0.2.121`, the behavior of the Agent SDK broke for me.

Before, it would only send the `ResultMessage` at the complete end of the turn. However, I now notice behavior where a background agent is still running, but the `ResultMessage` has already been delivered and the `client.query()` already returned, this causes the Agent SDK to miss messages when the background agent finishes.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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