Skip to content

Frontend Chat: Chat copy not possible, endless updating #9904

@Livecreep

Description

@Livecreep

LocalAI version:

Version 4.2.6

Environment, CPU architecture, OS, and Version:

Proxmox LXC Container --> Debian --> Docker

Tested with Brave and Firefox on Debian trixie.

Describe the bug

The chat is constantly updating. You cant copy the AI Answer.

Image

The Frontend endlessly requesting the backend at api/operations. After each request the AI message gets updated. This removes any marking on the HTML elements. So you cant CTRL+C the Text.
Also the copy button next to the reprocess button is not working. (could be cause we using http instead of https)

Image

To Reproduce

  • Open the chat frontend
  • Ask a question
  • Wait for answer of ai
  • try to mark the generated text
  • text gets unmarked

Expected behavior

Not refreshing the HTML elements on no update. Maybe no request, after completed generation.

Logs

Additional context

If you just block the api/operation endpoint, the HTML does not update anymore. You can then just mark and copy.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions