Skip to content

Infinity loop after user message #60

Description

@Bogi002

Summary

Pasting a long text into the harness input field causes it to malfunction and enter an infinite loop that cannot be interrupted.

Steps to Reproduce

  1. Open the harness from the IntelliJ IDEA terminal.
  2. Paste a long text into the input field.
  3. Observe the behavior.

Actual Behavior

The harness goes haywire — the same text keeps cycling round and round continuously, resulting in an infinite loop. The loop could not be killed: neither Ctrl+C nor Esc stopped it. It just kept running round and round.

Expected Behavior

  • It should be possible to paste long texts into the CLI.
  • The LLM should be able to process long pasted texts normally.
  • Pasting long text must never cause an infinite loop, and the user must always be able to interrupt/cancel (e.g., via Ctrl+C or Esc).

Environment

  • Terminal: IntelliJ IDEA integrated terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions