Skip to content

(bug) Remember the last agent used to start a chat #6741

Description

@mmabrouk

When I start a new chat from the home page with Agent A, I expect Agent A to remain selected the next time I start a chat. Instead, the home page selects the same agent each time based on the current list order.

Steps to reproduce

  1. Open the home page in a workspace with at least two agents.
  2. In the new-chat composer, select Agent A.
  3. Start the chat session.
  4. Return to the home page and open the new-chat composer again.

Expected behavior

Agent A, the agent used for the most recently created chat, is selected by default.

If the user has not created a chat before, or the last-used agent is no longer available, the home page can use its existing fallback selection.

Actual behavior

The home page selects the same agent according to the current agent ordering instead of remembering Agent A.

Environment

Reported from the current home-page chat flow. The behavior has not yet been independently reproduced.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions