ai-chatbot icon indicating copy to clipboard operation
ai-chatbot copied to clipboard

feat: add openai responses api capability

Open matthewmichel opened this issue 8 months ago • 5 comments

Updates ai and @ai-sdk/openai versions to support the new OpenAI Responses API. Updates the default "small" and "large" models to use the Responses API. Adds a new webSearchPreview tool call to demo the new OpenAI Web Search Preview tool.

matthewmichel avatar Mar 12 '25 05:03 matthewmichel

@matthewmichel is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Mar 12 '25 05:03 vercel[bot]

New and updated dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@ai-sdk/[email protected]1.2.2 None +6 5.83 MB vercel-release-bot
npm/[email protected]4.1.54 environment, network +14 9.11 MB chriswdmr, ijjk, matheuss, ...8 more

View full report↗︎

socket-security[bot] avatar Mar 12 '25 05:03 socket-security[bot]

the timeline of this pr is the reason why open source is the future.

yamz8 avatar Mar 12 '25 12:03 yamz8

Sort and sweet. Love it!

athrael-soju avatar Mar 12 '25 13:03 athrael-soju

@tobiasbueschel Changes made to not store messages on the OpenAI side. Open to any other suggestions/feedback.

matthewmichel avatar Mar 12 '25 17:03 matthewmichel

@tobiasbueschel @matthewmichel Any chance this could be merged soon? LiteLLM now provides ResponsesAPI endpoint for many LLMs, not just OpenAI, and this would be great to have in chat-sdk by default.

nileshtrivedi avatar Apr 28 '25 04:04 nileshtrivedi

Does it support content annotations such as file_citation returned by the file_search_call, as described in Responses API spec?

nileshtrivedi avatar Apr 28 '25 09:04 nileshtrivedi