mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-08 05:39:13 +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
|
Format messages into appropriate multimedia format for supported chat model types
|
||||||
"""
|
"""
|
||||||
constructed_messages = [
|
constructed_messages: List[ChatMessage] = [
|
||||||
{"type": "text", "text": message},
|
{"type": "text", "text": message},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user