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
6 Replies
Mastra Triager
Mastra Triager2mo ago
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_2mo 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 BelkadiOP2mo 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_2mo ago
Could you share a code example of how you're doing this?
Rafik Belkadi
Rafik BelkadiOP2mo ago
can i share it with you privately ?
_roamin_
_roamin_3w ago
Sorry for the late reply... If you'r still running into this issue, feel free to DM me 😉

Did you find this page helpful?