Skip to content

[Bug] Posting over 100000 characters of raw text from console or notepad, etc causes formatting issues #7068

Closed

Description

@jimster480
  1. Unsloth 2026.7.2 Newest at time of Bug
  2. AMD W7900 GPU, Late June 2026 ROCm Drivers
  3. Windows 10

I found that when publishing large amounts of text (seeming starting around 3500 tokens / 10000+ characters) the formatting of the chat becomes distorted. My example here happens to have run out of context window, but it doesn't have to, it just happens every time I paste a large amount of text. This happens on both Firefox & Brave browsers; I haven't tested other browsers. It does get fixed later (usually after the LLM responds and sometimes after I send my next sub 10000 character message).

Image

Activity

  1. Lyxot commented on Jul 13, 2026

    @Lyxot
    Collaborator

    I found a possible root cause: long unbroken strings in the pasted text, such as paths, URLs, hashes, or serialized values, can make the user-message bubble exceed the chat width. But I'm not certain it caused your specific issue.

    Could you check whether your pasted text contains long segments without spaces, or try sending 5,000 consecutive A characters and confirm whether it causes the same distortion?

  2. Lyxot commented on Jul 14, 2026

    @Lyxot
    Collaborator

    Can you confirm if #7100 fixed your issue?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions