rosgpt
rosgpt copied to clipboard
ros2 run rosgpt rosgpt_client_node
Please somebody tell me what could be the reason? I am getting the following error.
tufail39@tufail39-VirtualBox:~$ ros2 run rosgpt rosgpt_client_node [INFO] [1704385697.602028953] [rosgpt_client]: ROSGPT client node started Enter a move command or a rotate command. The current ROSGPTParser of rosgpt_turtlesim does not multiple command. Will be extended later Enter a text command: I want that you move 1 meter forward speed 0.2 [ERROR] [1704385738.657950074] [rosgpt_client]: Error: 500
I have the same error too .
#error 1
[ROSGPT] Command received. move 1 meter forward speed 0.2 . Asking ChatGPT ... Unexpected error: 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. 127.0.0.1 - - [09/Jan/2024 17:23:59] "POST /rosgpt HTTP/1.1" 500 -
#error 2
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
my API bill is still $0 ( enough )
openai == 0.28.1, Try it too or Upgrade newest openai with openai migrate
but it still doesn't working
Please somebody tell me what could be the reason? I am getting the following error.
tufail39@tufail39-VirtualBox:~$ ros2 run rosgpt rosgpt_client_node [INFO] [1704385697.602028953] [rosgpt_client]: ROSGPT client node started Enter a move command or a rotate command. The current ROSGPTParser of rosgpt_turtlesim does not multiple command. Will be extended later Enter a text command: I want that you move 1 meter forward speed 0.2 [ERROR] [1704385738.657950074] [rosgpt_client]: Error: 500
I solved the problem ( [rosgpt_client]: Error: 500 ) You must register your card information to use the GPT API.
https://platform.openai.com/account/billing/overview
[ERROR] [1715579908.467284950] [rosgpt_client]: Error: 404 Enter a move command or a rotate command. The current ROSGPTParser of rosgpt_turtlesim does not multiple command. Will be extended later. this error comes, tried modifying the code but the error persists. anyone know the cause?