This commit is contained in:
Classic298
2025-12-30 12:15:31 +04:00
committed by GitHub
parent fe3047d53c
commit c02451178c
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -1647,7 +1647,7 @@ async def chat_completion(
)
# Insert chat files from parent message if any
parent_message = metadata.get("parent_message", {})
parent_message = metadata.get("parent_message") or {}
parent_message_files = parent_message.get("files", [])
if parent_message_files:
try: