Skip to content

Error 'gpt-4' does not exist - MacOS #2

@jhavens12

Description

@jhavens12

When I set up the program and export my openAI key via the install instructions, I get the following message when trying to use the program:

Failed to parse message TypeError: Failed to parse message:
"{
    "error": {
        "message": "The model: `gpt-4` does not exist",
        "type": "invalid_request_error",
        "param": null,
        "code": "model_not_found"
    }
}
"

TypeError: Cannot read properties of undefined (reading '0')
    at Object.next (https://deno.land/x/shellgpt@0.2.1/lib/ai.ts:179:31)
    at async https://deno.land/x/shellgpt@0.2.1/mod.ts:311:30`

I see the other closed issue and used the install line from there via deno, but issue persists.
Using MacOS and installed deno via brew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions