Hello,
I’m trying to run an Agent with only one tool that queries an exisiting vector DB. The agent is returning the proper input but it seems like they aren’t being formatted the proper way for the HuggingFace model I’m using (meta-llama/Llama-3.2-3B-Instruct)
I’m receiving the following error:
Unable to decode function arguments:
{'query': '<Correct query extracted from prompt>'}
Error: the JSON object must be str, bytes or bytearray, not dict
Unexpected error invoking HuggingFace model: 422 Client Error: Unprocessable Entity for url: https://api-inference.huggingface.co/models/meta-llama/Llama-3.2-3B-Instruct/v1/chat/completions
Failed to deserialize the JSON body into the target type: messages[2].content: data did not match any variant of untagged enum MessageContent at line 1 column 1110
My agno installation is the most up-to-date. Any information on how to solve this issue?