ai-chatbot
ai-chatbot copied to clipboard
feat: add openai responses api capability
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 is attempting to deploy a commit to the Vercel Team on Vercel.
A member of the Team first needs to authorize it.
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 |
the timeline of this pr is the reason why open source is the future.
Sort and sweet. Love it!
@tobiasbueschel Changes made to not store messages on the OpenAI side. Open to any other suggestions/feedback.
@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.
Does it support content annotations such as file_citation returned by the file_search_call, as described in Responses API spec?