Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error in process sentinel #5

@antonhibl

Description

@antonhibl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions