Forum in maintenance, we will back soon 🙂
Error running main.py when testing "Create Agent from Scratch"
Hi,
Do I need to use the paid version of chatgpt, gpt-4, so as to run main.py successfully?
I created my API Key in GPT-3.5. I tried testing your agent code on "How to create AI Agents from scratch with Python". When I ran python main.py, I got the error excerpt below:
raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'message': 'The model `gpt-4` does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}
When I changed the model in your code to gpt-3.5-turbo and ran python main.py, I got the error excerpt below:
raise self._make_status_error_from_response(err.response) from None
openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors .', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
Thank you
@sylogh yes, you need to fund the use of the API. You don't need to purchase the monthly subscription.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@ssadvisor , thank you!
So, I need gpt-4 to run the AI agent successfully.
Please, how do I fund the use of the API, without purchasing the monthly subscription?
@sylogh https://platform.openai.com/settings/organization/billing/overview
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack