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

Error: Invalid JSON #40

Closed
cometbus opened this issue Apr 2, 2023 · 5 comments · Fixed by #45
Closed

Error: Invalid JSON #40

cometbus opened this issue Apr 2, 2023 · 5 comments · Fixed by #45

Comments

@cometbus
Copy link

cometbus commented Apr 2, 2023

I'm getting this argument in a loop

NEXT ACTION: COMMAND = Error: ARGUMENTS = Invalid JSON
SYSTEM: Command Error: returned: Unknown command Error:
Error: Invalid JSON

@Taytay
Copy link
Contributor

Taytay commented Apr 2, 2023

Looks like a bug in what is getting sent to the AI:

Goal 3:
------------ CONTEXT SENT TO AI ---------------
System: Permanent memory: []
User: NEXT COMMAND
----------- END OF CONTEXT ----------------
assistant reply: What would you like me to do?
Error: Invalid JSON
 What would you like me to do?
NEXT ACTION:  COMMAND = Error: ARGUMENTS = Invalid JSON
Enter 'y' to authorise command or 'n' to exit program...
Input:

@altryne
Copy link

altryne commented Apr 2, 2023

Same with default run

@adustyugov
Copy link

some problems with escaping in string values. looks like due to prompts(initial or generated ones). we should add checks and escaping for strings

@cometbus
Copy link
Author

cometbus commented Apr 2, 2023

example, if you require a Google Search, please provide the following command: { "command": { "name": "google", "args": { "input": "<search>" } } } For executing a Python file, you can issue the command: { "command": { "name": "execute_python_file", "args": { "file": "<file>" } } } If you have any questions or require assistance with a particular command or task, please don't hesitate to ask.
NEXT ACTION: COMMAND = Error: ARGUMENTS = Invalid JSON
SYSTEM: Command Error: returned: Unknown command Error:

@renner-c
Copy link

renner-c commented Apr 3, 2023

Solution here:
#21 (comment)

Say383 pushed a commit to Say383/Auto-GPT that referenced this issue Sep 8, 2023
…feat/basics

addition of basic challenges, easier challenge creation, --mock flag, adding mini-agi
SquareandCompass pushed a commit to SquareandCompass/Auto-GPT that referenced this issue Oct 21, 2023
…mentation (Significant-Gravitas#40)

* Improves clarity and fixes punctuation in README and Multi-agent documentation

* fix broken colab link to agentchat_groupchat_research.ipynb (others are fine)

* fix typos, improves readability
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

Successfully merging a pull request may close this issue.

5 participants