mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
fix(python-sdk): track recursive subagent notifications
This commit is contained in:
@@ -143,7 +143,10 @@ class Session:
|
||||
notifications.append(notification)
|
||||
if on_notification is not None:
|
||||
on_notification(notification)
|
||||
if notification.method == "session.event":
|
||||
if (
|
||||
notification.method == "session.event"
|
||||
and notification.payload.get("sessionId") == self.id
|
||||
):
|
||||
event = notification.payload.get("event")
|
||||
if isinstance(event, dict):
|
||||
events.append(event)
|
||||
|
||||
Reference in New Issue
Block a user