Running codegpt-XXXX on a selection of code returns:
error in process sentinel: let*: Symbol’s function definition is void: openai-completion--data-choices
error in process sentinel: Symbol’s function definition is void: openai-completion--data-choices
error in process sentinel: let*: Symbol’s function definition is void: openai-completion--get-choices
error in process sentinel: Symbol’s function definition is void: openai-completion--get-choices
This is because the openai package renamed these functions to openai--data-choices and openai-get-choices. the require in the codegpt.el file also needs to be changed to (require 'openai) to reflect the full package name.
Running codegpt-XXXX on a selection of code returns:
This is because the openai package renamed these functions to
openai--data-choices
andopenai-get-choices
. the require in the codegpt.el file also needs to be changed to(require 'openai)
to reflect the full package name.