OpenInterpreter / open-interpreter

A natural language interface for computers
http://openinterpreter.com/
GNU Affero General Public License v3.0
50.66k stars 4.42k forks source link

ollama llama3 How to remove the first line " ` " when generating code in Windows 11 terminal #1228

Closed ltsyk closed 2 months ago

ltsyk commented 2 months ago

Describe the bug

ollama llama3 "`" symbols frequently appear in the first line when generating code in Windows 11 terminal

Reproduce

ollama llama3 "`" symbols frequently appear in the first line when generating code in Windows 11 terminal

Expected behavior

ollama llama3 When generating code in Windows 11 terminal, the "`" symbol should not appear in the first line

Screenshots

![Uploading 屏幕截图 2024-04-23 212337.png…]()

Open Interpreter version

0.2.4

Python version

3.11.9

Operating System name and version

windows11

Additional context

open interpreter This error occurs when running ollama llama3

CyanideByte commented 2 months ago

I made a PR to fix this, it happens on lm studio too. https://github.com/OpenInterpreter/open-interpreter/pull/1217

Therealkorris commented 2 months ago

gh pr checkout 1217

thanks to the author. Edit: seems like it is working at the beginning, but is coming back when you have iterated few times

HoodBlah commented 2 months ago

How did you fix it? Is there something I can do on my client to get it to work?