Issue parsing output from supervisor agent

I have a supervisor agent, with two tools , tools are other agents the supervisor agent can call, they return json that contain text. the final response from the supervisor agent is not parsable it's not clear json
5 Replies
Mastra Triager
GitHub
[DISCORD:1434617650452893948] Issue parsing output from supervisor ...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1434617650452893948 I have a supervisor agent, with two tools , tools are other agents the supervisor agen...
_roamin_
_roamin_2w ago
Hey @Rafik Belkadi ! Not sure what you're issue is. Do you mean the llm is not interpreting your tool results correctly?
Rafik Belkadi
Rafik BelkadiOP2w ago
supervisor agent = calls another agent as a tool = the agent returns json as result = the json returned by the supervisor is not formatted correctly and can't be parsed
_roamin_
_roamin_2w ago
Could you share a code example of how you're doing this?
Rafik Belkadi
Rafik BelkadiOP2w ago
can i share it with you privately ?

Did you find this page helpful?