epam / ai-dial-chat

A default UI for AI DIAL
https://chat.lab.epam.com
Apache License 2.0
62 stars 25 forks source link

Incorrect model is set in new conversation if in previous chat model was applied but no message was sent #1672

Closed VolhaBazhkova closed 2 months ago

VolhaBazhkova commented 3 months ago

EPAM AI DIAL chat version

0.14.0

What happened?

  1. Create new conversation based on model1 -> send a message
  2. Create new conversation -> note that model1 is set automatically -> ok
  3. In chat setting in the header change model1 to model2 -> click on Apply changes -> current chat icon is changed to model2 -> ok
  4. Create new conversation -> note that the model1 is set -> bug

Expected result: model2 should be set

Note: model2 is set in new conversation only in the case when model is responded. Note: in 13 version model2 is used if it was applied in previous chat, model response is not required action

Confidential information

VolhaBazhkova commented 2 months ago

Verified on staging env successfully