Can't use OpenAI WebSearch tool
Hi there.
I can't seem to use OpenAI's WebSearch tool from the AI SDK. I get this error (cut off due to Discord's text limit):
Essentially some mismatched types by the looks of it.
Here's the code:
Where web_search: openai.tools.webSearch({}) gives the error.
Here are the versions I'm on (the latest, as far as I know):
Is this the proper way to use the web search tool?
1 Reply
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/9000
GitHub
[DISCORD:1428923777575686387] Can't use OpenAI WebSearch tool · Is...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1428923777575686387 Hi there. I can't seem to use OpenAI's WebSearch tool from the AI SDK. I get t...