Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✖ 404 The model gpt-4o does not exist or you do not have access to it. #34

Open
bHARATHaALETI018 opened this issue Jun 20, 2024 · 6 comments

Comments

@bHARATHaALETI018
Copy link

No description provided.

@ike5
Copy link

ike5 commented Jun 20, 2024

To add to your opened issue, here's the error message I received along with it:

✖ 404 The model `gpt-4o` does not exist or you do not have access to it.
    at APIError.generate (file:///Users/ike/.nvm/versions/node/v20.13.1/lib/node_modules/@builder.io/micro-agent/node_modules/openai/error.mjs:50:20)
    at OpenAI.makeStatusError (file:///Users/ike/.nvm/versions/node/v20.13.1/lib/node_modules/@builder.io/micro-agent/node_modules/openai/core.mjs:268:25)
    at OpenAI.makeRequest (file:///Users/ike/.nvm/versions/node/v20.13.1/lib/node_modules/@builder.io/micro-agent/node_modules/openai/core.mjs:311:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async getFileSuggestion (file:///Users/ike/.nvm/versions/node/v20.13.1/lib/node_modules/@builder.io/micro-agent/dist/cli.mjs:904:22)
    at async interactiveMode (file:///Users/ike/.nvm/versions/node/v20.13.1/lib/node_modules/@builder.io/micro-agent/dist/cli.mjs:671:33)
    at async file:///Users/ike/.nvm/versions/node/v20.13.1/lib/node_modules/@builder.io/micro-agent/dist/cli.mjs:1663:11


    ai-shell v0.0.48

    Please open a Bug report with the information above:
    https://github.com/BuilderIO/micro-agent/issues/new

■  Canceled

@steve8708
Copy link
Contributor

steve8708 commented Jun 20, 2024

oh wow, I thought gpt-4o was avaiable to nearly everyone now

claude's 3.5 sonnet just came out and is likely better and faster (and is cheaper too). I would recommend trying that

create an account with anthropic and add your key using micro-agent config and set claude as your model, either through the config or like

MODEL=claude micro-agent

in our experience, anthropic's models are better than openai's (and faster and cheaper with this latest update), especially for complex tasks and/or coding tasks

@sainsw
Copy link

sainsw commented Jun 21, 2024

I think you need to be in at least Tier 1 in OpenAI to access gpt-4o via API

Check your tier here: https://platform.openai.com/settings/organization/limits

Documentation on the tiers: https://platform.openai.com/docs/guides/rate-limits/usage-tiers

@ike5
Copy link

ike5 commented Jun 21, 2024

limits
You're right, it appears that I haven't met their $5 spending quota yet. I believe we can close this issue now.

@Sudococommunity
Copy link

how to use ollama in microagent

@EzraWolf
Copy link

I am not sure when or why they released tiers, and I haven't spent more than $10 on OpenAI's API, but have tier 3.

What fixed this for me was running micro-agent config set MODEL=gpt-4o with the lowercase gpt-4o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants