Skip to content

Commit

Permalink
Merge pull request chatpire#311 from huoxingyongren/fix-306-bug
Browse files Browse the repository at this point in the history
Update chat.py
  • Loading branch information
moeakwak authored Nov 30, 2023
2 parents 9ffdba9 + bc9908d commit 5387cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/routers/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ async def reply(response: AskResponse):
# stream 传输
async for data in manager.complete(text_content=ask_request.text_content,
conversation_id=ask_request.conversation_id,
parent_message_id=ask_request.parent,
parent_id=ask_request.parent,
model=model,
plugin_ids=ask_request.openai_web_plugin_ids if ask_request.new_conversation else None,
attachments=ask_request.openai_web_attachments,
Expand Down

0 comments on commit 5387cff

Please sign in to comment.