mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Comments
This commit is contained in:
@@ -580,7 +580,10 @@ def _item_to_message(item: Item) -> Message:
|
||||
item: The Item to convert.
|
||||
|
||||
Returns:
|
||||
The converted Message, or None if the Item type is not supported.
|
||||
The converted Message.
|
||||
|
||||
Raises:
|
||||
ValueError: If the Item type is not supported.
|
||||
"""
|
||||
if item.type == "message":
|
||||
msg = cast(ItemMessage, item)
|
||||
|
||||
Reference in New Issue
Block a user