Skip to content

Job chat AI assistant: Wrong chat opened when switching jobs #3745

@hanna-paasivirta

Description

@hanna-paasivirta

Describe the bug
The wrong AI job chat is opened by default when switching jobs. This means that the assistant does not know which adaptor the user is using.

Version number
v2 in production

To Reproduce

  1. Open a workflow with at least two steps.
  2. Open a chat session inside one step, and send any message.
  3. Navigate to a different step and open the AI assistant from there.
  4. Now you should see that the previous conversation is opened. Ask the assistant "What adaptor am I using?" -> it will name the adaptor from the step inside which we started the conversation.

Expected behavior
When opening the assistant, it should not open the latest conversation the user had inside this workflow. Instead, it should open the list of previous conversations associated with the given job.

Image

Alternatively, it could jump inside the latest conversation for the job. However, as we should nudge users towards starting new conversations often, I think it would be better to jump to the conversation history view. This could be annoying if users switch between conversations in quick succession, but my guess is that this isn't too common.

Screenshots
See mismatch between the adaptor specification at the top and what the assistant thinks is the adaptor:
Image

Metadata

Metadata

Assignees

Labels

bugNewly identified bug

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions