Skip to content

Commit 3c86dbe

Browse files
author
Leonardo Galindo Sánchez
committed
Fix error in first question when using PF
1 parent e256fd1 commit 3c86dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ def format_pf_non_streaming_response(
175175
"model": "",
176176
"created": "",
177177
"object": "",
178+
"history_metadata": history_metadata,
178179
"choices": [
179180
{
180181
"messages": messages,
181-
"history_metadata": history_metadata,
182182
}
183183
]
184184
}

0 commit comments

Comments
 (0)