Add typing to the constructed messages listed

This commit is contained in:
sabaimran 2024-11-09 19:40:27 -08:00
parent 79b15e4594
commit 2c543bedd7

View file

@ -277,7 +277,7 @@ def construct_structured_message(
"""
Format messages into appropriate multimedia format for supported chat model types
"""
constructed_messages = [
constructed_messages: List[ChatMessage] = [
{"type": "text", "text": message},
]