This commit is contained in:
lucca 2024-06-06 11:15:56 -03:00
parent 1122a40374
commit 5e25979596
No known key found for this signature in database
GPG key ID: 4AD5F117F068DBC1

View file

@ -642,9 +642,9 @@ def completion(
prompt = " ".join(
[
message.get("content", "")
message.get("content")
for message in messages
if isinstance(message.get("content", ""), str)
if isinstance(message.get("content", None), str)
]
)