Required tool is not picked up by OpenAI compatible models in Agent Mode #7542
Unanswered
souvikpal2000
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Below are the model I'm getting after applying the configuration

When I'm prompting using normal chat mode, I'm getting the proper response

But when I'm prompting using agentic mode, getting 400 status code

Note: You might have thought that how I enabled the agent mode for

global/gpt-4o
model, I just modifiedtoolSupport.ts
After doing some analysis I found that

function.strict
is needed for the proper request body, so I modifiedopenaiTypeConverter.ts
Now the problem is that, in agent mode it is not picking up the required tool and giving the response like normal chat mode

Beta Was this translation helpful? Give feedback.
All reactions