Skip to content

Chat UI: chat view doesn't auto-scroll when an existing content part becomes larger #270

@CamilleLetavernier

Description

@CamilleLetavernier

Feature Description:

Currently, auto-scroll is only updated when receiving tokens from the (top-level) LLM. With eclipse-theia#15736, we introduced "Agent delegation", which can also render some content in the Chat View, without involving new tokens from the main Agent. This currently breaks auto-scroll.

There may also be similar cases, where a Chat ContentPart grows independently of new tokens (e.g. Command interaction, ...). Auto-scroll should handle these cases, if possible.

Expected result:

  • when delegating a prompt to another Agent via the delegation tool, and if the users expands the details/summary group, auto-scroll should handle the delegated tokens and scroll as necessary
  • bonus: auto-scroll should handle any kind of growing/shrinking content parts, even when new tokens aren't received in the Chat

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions