mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-05 21:29:11 +00:00
Add typing to the constructed messages listed
This commit is contained in:
@@ -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},
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user