You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been playing with orchestrator with function calling type agentic workflow. There are cases where orchestrator needs to send lengthy input to a given tool, and that causes Json decoding issue. My understanding is when orchestrator is doing function calling, it's basically generating a json which includes what tool to call and what inputs to the tool. When it comes to lengthy input (e.g., user might send a lengthy code to orchestrator asking for explanation or correction, and it passes it to a coding agent), the input could be missing " or } in the end etc., causing the error - json.decoder.JSONDecodeError: Unterminated string starting at.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi community,
I have been playing with orchestrator with function calling type agentic workflow. There are cases where orchestrator needs to send lengthy input to a given tool, and that causes Json decoding issue. My understanding is when orchestrator is doing function calling, it's basically generating a json which includes what tool to call and what inputs to the tool. When it comes to lengthy input (e.g., user might send a lengthy code to orchestrator asking for explanation or correction, and it passes it to a coding agent), the input could be missing " or } in the end etc., causing the error - json.decoder.JSONDecodeError: Unterminated string starting at.
Any suggestion please?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions