ProjectAlita / projectalita.github.io

Langing
GNU Affero General Public License v3.0
1 stars 1 forks source link

[BUG] Entity Settings dialog leads to unhandled stale viewport context error when conversation is removed #478

Open epamLDadayan opened 2 months ago

epamLDadayan commented 2 months ago

Env: EYE

Steps to reproduce:

  1. Create a new conversation
  2. Invite a configurable participant that has settings (an agent, DS, model, or prompt).
  3. Open the entity's settings.
  4. Make adjustments, but stay on the Settings panel. E.g., change the temperature
  5. Delete the conversation.
  6. The chat gets deleted, but the Settings panel remains open.

Actual Result: Click on the < button beside the Settings header. The following error message appears:

Expected Result: The Settings bar is removed when the conversation is deleted.

PUT https://eye.projectalita.ai/api/v1/chat/entity_settings/prompt_lib/894/undefined/13 400 (Bad Request)

Image