Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Conversation messages refactor add msg ids

Open danielpatrickhug opened this issue 2 years ago • 0 comments
trafficstars

  • in oasst_shared/schemas/protocal.py I modified ConversationMessage adding the variable message_id and frontend_message_id
  • in backend/oasst_backend/api/v1 I modified instances of ConversationMessage in tasks.py and utils.py to include the new variable when instantiating ConversationMessage
  • in backend main.py I updated the instantiation of conversation message to include message_id and frontend_id
  • Ran pre-commit to format

danielpatrickhug avatar Jan 07 '23 17:01 danielpatrickhug