Skip to content

Commit 3747595

Browse files
authored
fix(api): fix wrong field in api response (#279)
1 parent 4e61ff1 commit 3747595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parallax/server/http_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def generate_non_stream_response(self, rid):
274274
},
275275
}
276276
choice = response["choices"][0]
277-
choice["messages"] = {
277+
choice["message"] = {
278278
"role": "assistant",
279279
"content": request_info.text,
280280
"reasoning_content": None,

0 commit comments

Comments
 (0)