We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The default model text-davinci-003 has been deprecated. This causes codegpt command to fail. Running openapi with debug-mode shows the error message:
text-davinci-003
codegpt
[ENCODED]: {"model":"text-davinci-003","prompt":"What is the following?\n\n(cl-defun openai-completion ( prompt callback\n\n","max_tokens":2000,"temperature":1.0} [error] request--callback: peculiar error: 404 [ERROR]: #s(request-response 404 nil ((error (message . The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations) (type . invalid_request_error) (param) (code . model_not_found))) (error http 404) error https://api.openai.com/v1/completions nil (:error (closure (t) (&rest --cl-rest--)
codegpt/codegpt.el
Line 72 in be35070
Updating the model resolved the issue
(use-package codegpt :ensure t :config (setq codegpt-model "gpt-3.5-turbo-instruct"))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The default model
text-davinci-003
has been deprecated. This causescodegpt
command to fail. Running openapi with debug-mode shows the error message:codegpt/codegpt.el
Line 72 in be35070
Updating the model resolved the issue
The text was updated successfully, but these errors were encountered: