Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyword Error issue #21

Closed
sohag02 opened this issue Sep 1, 2023 · 2 comments
Closed

Keyword Error issue #21

sohag02 opened this issue Sep 1, 2023 · 2 comments

Comments

@sohag02
Copy link

sohag02 commented Sep 1, 2023

image

I am getting this issue sometimes. The same cmd which is to create a venv in this case works sometimes but sometimes it shows this error. It happens with other cmds too.

@nofeetbird0321
Copy link

Get the same issue.

@KillianLucas
Copy link
Collaborator

Hey @sohag02 and @nofeetbird0321, thanks for opening this issue.

I've gotten that when GPT-3.5 (--fast mode) tries to hallucinate a function, so we can't parse it correctly. I'll work on catching that / handling it correctly.

In the meantime you could try reiterating to it: "You have one function called run_code that accepts language and code. Do not use any function except for run_code." or something like that.

GPT-4 never seems to hallucinate functions so that should work to simply omit the --fast flag!

KillianLucas added a commit that referenced this issue Sep 2, 2023
joshuavial pushed a commit to joshuavial/open-interpreter that referenced this issue Sep 7, 2023
joshuavial pushed a commit to joshuavial/open-interpreter that referenced this issue Sep 15, 2023
joshuavial pushed a commit to joshuavial/open-interpreter that referenced this issue Nov 16, 2023
Former-commit-id: 5a03f72
Former-commit-id: 6284903ca1a0f88f0782a325971d3bfb5276b7be
Former-commit-id: 6df317340c42a59b357e7d3ce0d80360284b68d5 [formerly c6e1ade5f6c2112784d1125ac37024f0538d7196]
Former-commit-id: dff9b0471e3022092ff12fb796752535342ecc07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants