jackMort / jackMort/ChatGPT.nvim
`code-davinci-edit-001` is deprecated, `ChatGPTEditWithInstructions` doesn't work anymore
- Dominant language
- Lua
- Stars
- 4k
- Forks
- 317
- PR merge metrics
- No merged PRs in 30d
Description
Starting today, when I run `ChatGPTEditWithInstructions`, I get an error message:
```
// API ERROR: The model `text-davinci-003` has been deprecated, learn more
here: https://platform.openai.com/docs/deprecations
```
The error message seems wrong, as `text-davinci-003` is not used in ChatGPT.nvim. Nonetheless, the command fails and the deprecations URL the error refers to points `code-davinci-edit-001` was to be shutdown at 2024-01-04. The recommended replacement is GPT-4, but that might increase the costs (I didn't check).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure with the ChatGPTEditWithInstructions command and trace which configured model produces the deprecation error. Check the command's model configuration and the linked OpenAI deprecations guidance; done means the command works with a supported replacement and no longer requests the deprecated edit model.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- ai, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100