You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expose IncludeSubAgentStreamingEvents in all four SDKs (#1108)
* Expose IncludeSubAgentStreamingEvents in all four SDKs
Add the includeSubAgentStreamingEvents property to session config types
and wire payloads across Node/TS, Python, Go, and .NET. The property
controls whether streaming delta events from sub-agents (e.g.,
assistant.message_delta, assistant.reasoning_delta, assistant.streaming_delta
with agentId set) are forwarded to the connection. When false, only
non-streaming sub-agent events and subagent.* lifecycle events are forwarded.
The SDK defaults the property to true when not specified, so existing
consumers automatically receive sub-agent streaming events without any
code changes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix gofmt alignment in types.go
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add unit tests for IncludeSubAgentStreamingEvents across all SDKs
- .NET: Clone test assertions for SessionConfig and ResumeSessionConfig
- Node.js: Wire payload tests for session.create and session.resume
- Python: Payload capture tests for create_session and resume_session
- Go: JSON marshal tests for createSessionRequest and resumeSessionRequest
Each language tests both the default (true) and explicit false paths.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments