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

Update local profile so it doen't use function calling #1213

Closed Notnaton closed 2 months ago

Notnaton commented 2 months ago

leaving model = gpt4 will result in function calling. Most LM Studio models dont use function calling. making it not work

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):

KillianLucas commented 2 months ago

Excellent catch, that shouldn't have worked at all before. I changed it to just turn off function calling, which I think makes more sense, but let me know if it's better to change the model instead for any reason. Merged, great work @Notnaton!

Notnaton commented 2 months ago

This works too, but changing the model name would be preferred because I'm making another PR to get context length from the model name.

I'll bring the change in the other PR. 👍