Giter Site home page Giter Site logo

Comments (6)

maiteko avatar maiteko commented on August 15, 2024 1

Ah, I get what you were trying to say now.

I would suggest a few things

  1. Make it clear in the read me that you need to apply for GPT 4 access separately
  2. default to gpt-3.5-turbo in the config until gpt-4 is accessible without the separate application.
  3. watch the error output when gpt-4 is selected, and provide an explanation and link to the signup if "model_not_found" is returned.

from shellgpt.

mattvr avatar mattvr commented on August 15, 2024

Hey @jhavens12, thanks for the report. I believe this may be because you haven't run gpt --config to change the model and selected gpt-3.5-turbo.

I've just pushed a new version, which you can update to with deno install -rfA --name gpt https://deno.land/x/shellgpt/mod.ts which should help as well. Now, the configuration wizard runs automatically if you haven't run it yet.

Let me know if these work for you or not.

from shellgpt.

maiteko avatar maiteko commented on August 15, 2024

Using the latest version on windows, and went through the auto config. Same issue:

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/[email protected]/lib/ai.ts:179:31)
    at async https://deno.land/x/[email protected]/mod.ts:324:30

from shellgpt.

mattvr avatar mattvr commented on August 15, 2024

@maiteko are you entering gpt-3.5-turbo on the config prompt? And can you double check your ~/.gpt/config.json file to see if it’s set in there?

I will take a look soon to see if I made a mistake and also improve the handling for this case.

You can also apply for GPT-4 access via: https://openai.com/waitlist/gpt-4-api

from shellgpt.

mattvr avatar mattvr commented on August 15, 2024

Thanks @maiteko, I've made the 3 changes you've suggested in the latest update 45b5b57

from shellgpt.

maiteko avatar maiteko commented on August 15, 2024

Thanks :)

It doesn't make any difference to me at this point, but it's a good idea so people don't keep bugging you when it doesn't work :)

from shellgpt.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.