Skip to content

Changes needed for Assistant Chat #16511

@mpivchev

Description

@mpivchev
  1. Currently the chat is not loading more messages after the first sent message. That is because we do not generate a session before polling. chat/new_message should always be followed by a chat/generate and then polling check_generation.

This is the full flow:

Image
  1. Add a "Retry response generation"

Upon running chat/check_session, If the last message is from a human and chatMessageTaskId is nil, we must add a button to retry the response generation:

Image
  • If chatMessageTaskId is NOT nil, then we rerun chat/check_generation with the chatMessageTaskId as a parameter.
  1. When sending a message we must disable sending more messages while chat/check_generation is polling.
    Not sure if this already works on Android, but worth checking.

  2. This should just say "Type a message..."

Image
  1. Selected conversation is not marked in Conversation list. Add a checkmark to indicate selected conversation.

  2. Conversation title is not showed anywhere in the chat screen, so it's hard to keep track of the selected conversation. Title should be added.

  3. Dates for each message should be formatted to mimic web and iOS.

  4. (Optional) Since Assistant is now a button on front page on both iOS and Android, we can remove the icon here:

Image

This is already removed on iOS.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions