You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, first post on here, please let me know if I'm missing anything for general post etiquette
I'm following along with the tutorial from Forge. I have my own agent running on my local server, following the guidelines to update the execute step function in the agent.py file I get the following error:
Traceback (most recent call last):
File "/home/arqgpt/ARQGPT/autogpts/ARQGPT/forge/agent.py", line 136, in execute_step
chat_response = await chat_completion_request(**chat_completion_kwargs)
NameError: name 'chat_completion_request' is not defined. Did you mean: 'chat_completion_kwargs'?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/arqgpt/ARQGPT/autogpts/ARQGPT/forge/sdk/routes/agent_protocol.py", line 386, in execute_agent_task_step
step = await agent.execute_step(task_id, step)
File "/home/arqgpt/ARQGPT/autogpts/ARQGPT/forge/agent.py", line 142, in execute_step
except json.JSONDecodeError as e:
NameError: name 'json' is not defined
I've tried restarting the agent after amending the python code but it still doesn't work for me.
Any help will be appreciated, happy to provide additional screenshots/details of my issues.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, first post on here, please let me know if I'm missing anything for general post etiquette
I'm following along with the tutorial from Forge. I have my own agent running on my local server, following the guidelines to update the execute step function in the agent.py file I get the following error:
Traceback (most recent call last):
File "/home/arqgpt/ARQGPT/autogpts/ARQGPT/forge/agent.py", line 136, in execute_step
chat_response = await chat_completion_request(**chat_completion_kwargs)
NameError: name 'chat_completion_request' is not defined. Did you mean: 'chat_completion_kwargs'?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/arqgpt/ARQGPT/autogpts/ARQGPT/forge/sdk/routes/agent_protocol.py", line 386, in execute_agent_task_step
step = await agent.execute_step(task_id, step)
File "/home/arqgpt/ARQGPT/autogpts/ARQGPT/forge/agent.py", line 142, in execute_step
except json.JSONDecodeError as e:
NameError: name 'json' is not defined
I've tried restarting the agent after amending the python code but it still doesn't work for me.
Any help will be appreciated, happy to provide additional screenshots/details of my issues.
Beta Was this translation helpful? Give feedback.
All reactions