Closed fosskers closed 1 year ago
Further, from a fresh Emacs session, setting the gptel-model
variable in config is not respected. I have it set to "gpt-4"
, but a new gptel
invocation always starts with gpt-3.5-turbo
with the value of gpt-model
that I set myself overwritten.
Further again, even after evaluating (setq gptel-model "gpt-4")
in the chat buffer itself it still calls the API via 3.5 turbo.
Oops, thanks for catching that! Fixed in 444a4313.
Didn't mean to close this issue yet. Did Github auto-close this because I said it's fixed in my above message?
@fosskers I take it from the reaction this is fixed now. Feel free to reopen this issue if not.
Uh oh...
HTTP/2 404
date: Thu, 13 Apr 2023 05:37:31 GMT
content-type: application/json; charset=utf-8
vary: Origin
x-request-id: ac70f63f6b5951daddce9b5c16271406
strict-transport-security: max-age=15724800; includeSubDomains
cf-cache-status: DYNAMIC
server: cloudflare
cf-ray: 7b715b885cc2af5a-NRT
content-encoding: gzip
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
{
"error": {
"message": "The model: `gpt-4` does not exist",
"type": "invalid_request_error",
"param": null,
"code": "model_not_found"
}
}
The consensus here seems to be that this is an issue on OpenAI's end; mainly that my account might not have GPT-4 access yet.
I got requests working, and decided to ask GPT who it was:
Even though I have
gptel-model
set to"gpt-4"
. I debugged the request and got:Notice the
openai-model
field.