zabirauf / AutoGPT.js

Auto-GPT on the browser

Home Page:https://autogptjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create_code uses gpt-4 even if set to gpt-3.5

PhillipRt opened this issue · comments

This leads to this error every time if you don't have access to gpt-4:
Error calling API with status code 404 and message "{

"error": {

"message": "The model: gpt-4 does not exist",

"type": "invalid_request_error",

"param": null,

"code": "model_not_found"

}

}

"

Thanks for reporting that bug, I’ll look into it.

I'm guessing its because the user does not have GPT-4 API. Add a check at the start to see what version of GPT are available, or better 3 options, GPT-4 only, GPT-3 general & GPT-4 code, GPT-3 only.

@PhillipRt issues should be fixed. I've made the model being used consistent across all plugins based on selection.