Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nate-mar committed Jan 13, 2025
1 parent 0d9ba2f commit 9d5148f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
Mapping,
Tuple,
TypeVar,
Union,
)

from openai.types.image import Image
Expand Down Expand Up @@ -59,7 +60,7 @@ def is_iterable_of(lst: Iterable[object], tp: T) -> bool:


def _get_attributes_from_message_param(
message: Mapping[str, Any],
message: Union[Mapping[str, Any], litellm.Message],
) -> Iterator[Tuple[str, AttributeValue]]:
if not hasattr(message, "get"):
return
Expand Down

0 comments on commit 9d5148f

Please sign in to comment.