Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions python/packages/ag-ui/agent_framework_ag_ui/_workflow_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def _coerce_content(value: Any) -> Content | None:
try:
return Content.from_dict(content_payload)
except Exception:
logger.debug("Failed to coerce candidate content from dict", exc_info=True)
return None


Expand All @@ -218,6 +219,7 @@ def _coerce_message_content(content_payload: Any) -> Content | None:
try:
return Content.from_dict(content_dict)
except Exception:
logger.debug("Failed to coerce message content from dict", exc_info=True)
return None
return None

Expand Down
1 change: 1 addition & 0 deletions python/packages/purview/agent_framework_purview/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def deserialize_flag(
try:
return enum_cls(value)
except Exception:
logger.warning("Failed to convert int %s to %s", value, enum_cls.__name__)
Comment on lines 91 to +92
return None
Comment on lines 89 to 93

flag_value = enum_cls(0)
Expand Down
Loading