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

openai.error.InvalidRequestError: That model does not exist #2

Closed
boyuandeng opened this issue Nov 9, 2022 · 3 comments
Closed

openai.error.InvalidRequestError: That model does not exist #2

boyuandeng opened this issue Nov 9, 2022 · 3 comments

Comments

@boyuandeng
Copy link

Hello,i want to convert my pyscript to cpp,but i think there are some troubles
File "python2cppconverter.py", line 131, in <module> iterate_for_compilable_solution(prompt=prompt, maxIterations=3) File "python2cppconverter.py", line 111, in iterate_for_compilable_solution response = generate_completion(prompt, num_tokens=MAX_TOKENS_DEFAULT) File "python2cppconverter.py", line 73, in generate_completion top_p=1.0, frequency_penalty=0.0, presence_penalty=0.0) File "/home/dby/anaconda3/envs/rl/lib/python3.7/site-packages/openai/api_resources/completion.py", line 25, in create return super().create(*args, **kwargs) File "/home/dby/anaconda3/envs/rl/lib/python3.7/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 122, in create request_timeout=request_timeout, File "/home/dby/anaconda3/envs/rl/lib/python3.7/site-packages/openai/api_requestor.py", line 181, in request resp, got_stream = self._interpret_response(result, stream) File "/home/dby/anaconda3/envs/rl/lib/python3.7/site-packages/openai/api_requestor.py", line 397, in _interpret_response result.content, result.status_code, result.headers, stream=False File "/home/dby/anaconda3/envs/rl/lib/python3.7/site-packages/openai/api_requestor.py", line 430, in _interpret_response_line rbody, rcode, resp.data, rheaders, stream_error=stream_error openai.error.InvalidRequestError: That model does not exist

@alxschwrz
Copy link
Owner

Hello @IDCARDBORING,
thanks for the issue! Do you have an access key to the codex API?

@TrieuLe0801
Copy link

OpenAI is not really an open source :))))

@alxschwrz
Copy link
Owner

Closing this, since no response.

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

3 participants