BlenderGPT
BlenderGPT copied to clipboard
The model: `gpt-4` does not exist
Python: Traceback (most recent call last):
File "C:\Users\Laptop\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\BlenderGPT-main\__init__.py", line 174, in execute
blender_code = generate_blender_code(context.scene.gpt4_chat_input, context.scene.gpt4_chat_history, context, system_prompt)
File "C:\Users\Laptop\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\BlenderGPT-main\utilities.py", line 51, in generate_blender_code
response = openai.ChatCompletion.create(
File "C:\Users\Laptop\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\BlenderGPT-main\lib\openai\api_resources\chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
File "C:\Users\Laptop\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\BlenderGPT-main\lib\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
File "C:\Users\Laptop\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 226, in request
resp, got_stream = self._interpret_response(result, stream)
File "C:\Users\Laptop\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 619, in _interpret_response
self._interpret_response_line(
File "C:\Users\Laptop\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 682, in _interpret_response_line
raise self.handle_error_response(
openai.error.InvalidRequestError: The model: `gpt-4` does not exist
**System Information**
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1650 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.17
**Blender Version**
Broken: version: 3.4.0, branch: blender-v3.4-release, commit date: 2022-12-06 18:46, hash: `rBa95bf1ac01be`
Worked: (newest version of Blender that worked as expected)
Any solution?
I have exactly the same issue:
INFO:openai:error_code=model_not_found error_message='The model:
gpt-4does not exist' error_param=None error_type=invalid_request_error message='OpenAI API error received' stream_error=False Traceback (most recent call last): File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\__init__.py", line 174, in execute blender_code = generate_blender_code(context.scene.gpt4_chat_input, context.scene.gpt4_chat_history, context, system_prompt) File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\utilities.py", line 51, in generate_blender_code response = openai.ChatCompletion.create( File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_resources\chat_completion.py", line 25, in create return super().create(*args, **kwargs) File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_resources\abstract\engine_api_resource.py", line 153, in create response, _, api_key = requestor.request( File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 226, in request resp, got_stream = self._interpret_response(result, stream) File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 619, in _interpret_response self._interpret_response_line( File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 682, in _interpret_response_line raise self.handle_error_response( openai.error.InvalidRequestError: The model:
gpt-4does not exist Error: Python: Traceback (most recent call last): File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\__init__.py", line 174, in execute blender_code = generate_blender_code(context.scene.gpt4_chat_input, context.scene.gpt4_chat_history, context, system_prompt) File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\utilities.py", line 51, in generate_blender_code response = openai.ChatCompletion.create( File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_resources\chat_completion.py", line 25, in create return super().create(*args, **kwargs) File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_resources\abstract\engine_api_resource.py", line 153, in create response, _, api_key = requestor.request( File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 226, in request resp, got_stream = self._interpret_response(result, stream) File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 619, in _interpret_response self._interpret_response_line( File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 682, in _interpret_response_line raise self.handle_error_response( openai.error.InvalidRequestError: The model:
gpt-4 does not exist
system-info.txt
How to solve this please?
Kind regards,
Luc
I have exactly the same issue:
INFO:openai:error_code=model_not_found error_message='The model:
gpt-4does not exist' error_param=None error_type=invalid_request_error message='OpenAI API error received' stream_error=False Traceback (most recent call last): File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\__init__.py", line 174, in execute blender_code = generate_blender_code(context.scene.gpt4_chat_input, context.scene.gpt4_chat_history, context, system_prompt) File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\utilities.py", line 51, in generate_blender_code response = openai.ChatCompletion.create( File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_resources\chat_completion.py", line 25, in create return super().create(*args, **kwargs) File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_resources\abstract\engine_api_resource.py", line 153, in create response, _, api_key = requestor.request( File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 226, in request resp, got_stream = self._interpret_response(result, stream) File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 619, in _interpret_response self._interpret_response_line( File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 682, in _interpret_response_line raise self.handle_error_response( openai.error.InvalidRequestError: The model:
gpt-4does not exist Error: Python: Traceback (most recent call last): File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\__init__.py", line 174, in execute blender_code = generate_blender_code(context.scene.gpt4_chat_input, context.scene.gpt4_chat_history, context, system_prompt) File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\utilities.py", line 51, in generate_blender_code response = openai.ChatCompletion.create( File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_resources\chat_completion.py", line 25, in create return super().create(*args, **kwargs) File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_resources\abstract\engine_api_resource.py", line 153, in create response, _, api_key = requestor.request( File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 226, in request resp, got_stream = self._interpret_response(result, stream) File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 619, in _interpret_response self._interpret_response_line( File "C:\Users\luc\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 682, in _interpret_response_line raise self.handle_error_response( openai.error.InvalidRequestError: The model:
gpt-4does not exist
system-info.txtHow to solve this please?
Kind regards,
Luc
OK, I could solve this by 1) enabling a payment method for ChatGPT via this link: https://platform.openai.com/account/billing/overview Then, in BlenderGPT, select the 3.5 version. Then it works fine! In order to have access to chatGPT 4, I think you need to put yourself on the waiting list. So for me, this question can be closed.
ChatGPT 3.5 free, i use same another program with the different API keys. I don't understand why it doesn't work in BlenderGPT.
For an API key, you need a Plus subscription. And it's only available for 3.5 - to get an API key for 4, you have to get on the OpenAI waitlist, and then get approved.
Just tell us a solution. I need it for free. Please do something.
I'm afraid there is no 100% free solution. There is a very small cost for using the GPT 3.5 API. For the time being, apply a GPT-4 API access but that is more expensive.
On Sun, Jun 18, 2023 at 9:14 PM musabbiralsiam @.***> wrote:
Just tell us a solution. I need it for free. Please do something.
— Reply to this email directly, view it on GitHub https://github.com/gd3kr/BlenderGPT/issues/52#issuecomment-1596240707, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJMLS467SUB6GI2JIQSA2IDXL5HSXANCNFSM6AAAAAAYACINQY . You are receiving this because you commented.Message ID: @.***>
-- Luc Krols, Ph.D., MBA Managing Director LifeScience Lighthouse bvba Henrilei 18 B-2930 Brasschaat Belgium Mobile: +32 496 35 79 84 E-mail: @.*** http://www.LifeScienceLighthouse.com
OK, so what about when you are already using a paid GPT4 Open AI Plus created API Key? I am new to Blender/BlenderGPT, but not new to creating API Keys and following directions.
API Key and plus are completely unrelated. google open AI api key for more info.
If your API key is accurate, and you have a valid payment method then you must be approved to use OpenAI's GPT 4. I hope this helps solve your problem!