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

Initial setup based on docs not working #1622

Closed
uleeeeee opened this issue Dec 31, 2024 · 3 comments
Closed

Initial setup based on docs not working #1622

uleeeeee opened this issue Dec 31, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@uleeeeee
Copy link

Describe the bug
Cant get minimal setup running with OpenAI API as model
Error on agent terminal after message being sent via client

To Reproduce

  1. clone repo, install deps, build
  2. choose openai as model on default tate character file:
    "modelProvider": "openai", "settings": { "voice": { "model": "en_US-male-medium" } },
  3. Add openai API key to .env OPENAI_API_KEY=sk-proj-xxx
  4. pnpm run start --characters="../characters/tate.character.json"
  5. pnpm start:client
  6. send message via client
  7. receive error on agent terminal:
    ``": "The model gpt-4o does not exist or you do not have access to it.",\n "type": "invalid_request_error",\n "param": null,\n "code": "model_not_found"\n }\n}\n","isRetryable":false,"data":{"error":{"message":"The model gpt-4o does not exist or you do not have access to it.","type":"invalid_request_error","param":null,"code":"model_not_found"}}}`
    `

Expected behavior

No error, use openai API and receive response on client

@uleeeeee uleeeeee added the bug Something isn't working label Dec 31, 2024
Copy link

Hello @uleeeeee! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor!

@freddymercury
Copy link

@uleeeeee does your openAI account have credit? I get similar error responses when I have no credit in my openAI account.

@uleeeeee
Copy link
Author

uleeeeee commented Jan 1, 2025

@uleeeeee does your openAI account have credit? I get similar error responses when I have no credit in my openAI account.

Problem was probably related to that. I added another 10$ credits, created new API key and now it works. Thanks!

@uleeeeee uleeeeee closed this as completed Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants