Tool calling with o3+o4-mini #6418
Replies: 2 comments
-
|
Do you have a minimal reproducible example? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This discussion was automatically locked because it has not been updated in over 30 days. If you still have questions about this topic, please ask us at community.vercel.com/ai-sdk |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
hey so I've been having an issue with the o3 and o4-mini models.
Here's the issue.
So we have a unified api through which users can talk to basically any bot they want to talk to.
We also manage tool use from this api. The interesting thing though is that o3 and o4-mini actually work quite well with the current simulated tools (only like 2 params and was using this to test some stuff).
But the moment I go to the websearchtool and specifically add parameters as I start to transition to the real web search api call I'm not able to use o3 and o4-mini. They simply return empty strings.
Which is weird because. They work with the simulated calls just fine!
Has anyone else had any similar issues? I read something about how making reasoningSummary: 'detailed' meant I was using the responses api which doesn't work the the AI SDK's tool use but not so sure about that.
Beta Was this translation helpful? Give feedback.
All reactions