open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

Repeating output

Open qwertystars opened this issue 1 year ago • 5 comments

Describe the bug

When rendering Markdown content, particularly within code snippets or text areas, the text is being repeated multiple times, despite it being intended to display only once. This repetition occurs within the rendered output, making it difficult to read and understand the Markdown content properly. This maybe a issue of powershell. if Yes please create the gui fast.

Reproduce

Write this as prompt or any prompt that will make it generate output longer than the display size of monitor use. Make me a simple Pomodoro app.

Expected behavior

The Markdown content should be displayed exactly once, providing a clear and concise representation of the intended text.

Screenshots

Screenshot 2024-03-25 134756

Open Interpreter version

0.2.4

Python version

3.10.7

Operating System name and version

Windows 11

Additional context

No response

qwertystars avatar Mar 25 '24 08:03 qwertystars

Reproduced on MacOS, I don't think it's a Powershell issue. +1

rustom avatar Apr 02 '24 21:04 rustom

This is a known issue.

We rerender the output of the llm each time we get a token. This causes it to print a new "screen".

One possible fix would be to rerender everything once the llm is done. I will explore this.

Moving to textual would solve this, I have explored doing that. Just need some motivation 😅

Notnaton avatar Apr 03 '24 13:04 Notnaton

Not sure if this is an ok fix, but it appears that if I switch the Live attribute vertical_overflow to "elipses" on line 12 of terminal_interface/components/base_block.py the issue somewhat subsides...I've not tested this fully yet and it may end up causing a different issue if your file output is bigger than your console height..."crop" may help avoid issues with overrunning the console buffer.

With either of those settings I'm able to comfortably debug and review output when I put the --debug flag and things don't jitter and repeat.

bars0um avatar Apr 23 '24 20:04 bars0um

Have the similar issue, the output will be repeated many times: image

davidkan6666 avatar Aug 12 '24 01:08 davidkan6666

I'm experiencing the same problem still today, using gpt-4o-mini. Any solution up to now?

dandarm avatar Dec 14 '24 17:12 dandarm