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: "It seems like you've provided a message that is not in the correct format for Agent Zero" #339

Open
luisernestopoland opened this issue Mar 4, 2025 · 0 comments

Comments

@luisernestopoland
Copy link

Hi,

Using the docker version of Agent-zero I got this message.
Local Ollama running
Docker container running

When I send any message to the agent, I am getting this response -->"Agent 0: Responding
This message contains an example of a JSON response in the format asked for earlier"

Console message--> "Agent 0: Generating
It seems like you've provided a message that is not in the correct format for Agent Zero.

The message appears to be a combination of text, images, and code snippets, which are not compatible with the JSON response format required by Agent Zero. Additionally, there are multiple sections and subheadings within the message, which may not be easily parseable by the system.

To fix this, please reformat your message into a single JSON object that follows the guidelines outlined in the Agent Zero System Manual. This should include a top-level object with properties for "thoughts", "tool_name", and any other relevant information.

Here's an example of a correctly formatted JSON response:

{
    "thoughts": [
        "Describe the image",
        "The manual is divided into several sections: Your role, Environment, Communication, Problem solving, General operation manual, Files, Instruments, Best practices, Troubleshooting, Changelog, and Community and Support"
    ],
    "tool_name": "response",
    "tool_args": {
        "text": "This message contains an example of a JSON response in the format asked for earlier."
    }
}

Please reformat your message according to these guidelines and try again."

Any help is appreciated.

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

1 participant