jackMort / jackMort/ChatGPT.nvim

Switch from v1/completions to v1/chat/completions

Open
#354 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
4k
Forks
317
PR merge metrics
No merged PRs in 30d

Description

According to the [openai docs](https://platform.openai.com/docs/api-reference/completions) the completions endpoint is deprecated and chat/completions endpoint should be used instead. Are there plans for this migration? I’ve seen that edits endpoint is deprecated and will issue a deprecation warning in this plugin, however no such message exists for the completions endpoint. Or am I missing something?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the OpenAI API reference linked in the issue and search the plugin for the v1/completions entry point. Confirm whether migration to v1/chat/completions is in scope, then define done as using the replacement endpoint without relying on the deprecated one.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.