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
During the execution of agent with and without output_type parameter, I found this issue multiple times.
Without output_type specified, the agent executes tools accurately. However, when agent is restricted to structured output, it jumps to the answer and bypasses the tools execution. After multiple efforts, I found out that the behaviour still remained the same even when tool_use was changed to required in model_settings and mentioned clearly in instructions to use the tool.