mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Add typing to the constructed messages listed
This commit is contained in:
parent
79b15e4594
commit
2c543bedd7
1 changed files with 1 additions and 1 deletions
|
@ -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},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue