Closed mccoydj1 closed 3 weeks ago
I got this error.
openai.NotFoundError: Error code: 404 - {'error': {'message': "model 'gpt-4o' not found, try pulling it first", 'type': 'api_error', 'param': None, 'code': None}}
I am using the example code - what am I doing wrong? https://docs.gptr.dev/docs/gpt-researcher/pip-package
(Also i used os.environ["OPENAI_API_KEY"] to set my openai key)
This is strange. Did you try exporting your key like so: export OPENAI_API_KEY=... ?
export OPENAI_API_KEY=...
I got this error.
openai.NotFoundError: Error code: 404 - {'error': {'message': "model 'gpt-4o' not found, try pulling it first", 'type': 'api_error', 'param': None, 'code': None}}
I am using the example code - what am I doing wrong? https://docs.gptr.dev/docs/gpt-researcher/pip-package
(Also i used os.environ["OPENAI_API_KEY"] to set my openai key)