Skip to content

Commit cd33bb0

Browse files
committed
removed hasattr check per PR feedback
1 parent 45be44e commit cd33bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/packages/ag-ui/agent_framework_ag_ui/_orchestrators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ def _build_messages_snapshot(tool_message_id: str | None = None) -> MessagesSnap
636636
context.update_thread_id(conv_id)
637637
should_recreate_event_bridge = True
638638

639-
if hasattr(update, "response_id") and update.response_id and update.response_id != context.run_id:
639+
if update.response_id and update.response_id != context.run_id:
640640
context.update_run_id(update.response_id)
641641
should_recreate_event_bridge = True
642642

0 commit comments

Comments
 (0)