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

Fix %% magic command #1219

Closed Notnaton closed 2 months ago

Notnaton commented 2 months ago

Describe the changes you have made:

Reference any relevant issues (e.g. "Fixes #000"):

Pre-Submission Checklist (optional but appreciated):

OS Tests (optional but appreciated):

CyanideByte commented 2 months ago

Yup that fixed it. I noticed its adding an extra new line to every chunk that gets printed currently. I made a PR to your branch with a small change to fix that. https://github.com/Notnaton/open-interpreter/pull/2

Theres also a couple blank echo statements relating to "##end_of_execution##". I think it would be nice if we figured out a way to hide those echos from being shown to the user.

Notnaton commented 2 months ago

Awesome @CyanideByte merged into my PR

KillianLucas commented 2 months ago

Great patch @Notnaton and @CyanideByte! We've never really shown this feature off because it never really worked lol. This fixed it for me. I'll play around and see if I can just catch the ##end_of_execution## thing and anything else that gets printed like that. Merging!