Преглед изворни кода

re-generate for conversation (#2165)

### What problem does this PR solve?


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.11.0
Kevin Hu пре 1 година
родитељ
комит
742d0f0ea9
No account linked to committer's email address
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      api/apps/conversation_app.py

+ 1
- 1
api/apps/conversation_app.py Прегледај датотеку

@@ -125,7 +125,7 @@ def completion():
e, conv = ConversationService.get_by_id(req["conversation_id"])
if not e:
return get_data_error_result(retmsg="Conversation not found!")
conv.message.append(deepcopy(msg[-1]))
conv.message = deepcopy(req["messages"])
e, dia = DialogService.get_by_id(conv.dialog_id)
if not e:
return get_data_error_result(retmsg="Dialog not found!")

Loading…
Откажи
Сачувај