chore(deps-dev): bump @ai-sdk/openai-compatible from 0.2.16 to 2.0.41#8
Open
dependabot[bot] wants to merge 1 commit into
Open
chore(deps-dev): bump @ai-sdk/openai-compatible from 0.2.16 to 2.0.41#8dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
There was a problem hiding this comment.
No issues found across 2 files
Architecture diagram
sequenceDiagram
participant Client as User Client
participant App as Server Application
participant AISDK as AI SDK Core (ai)
participant Provider as CHANGED: @ai-sdk/openai-compatible (v2)
participant Schema as NEW: Standard Schema / Zod
participant API as External LLM API (Groq/Local)
Note over Client,API: LLM Request Flow with AI SDK v2
Client->>App: Sends Chat/Prompt Request
App->>AISDK: Call streamText() or generateText()
AISDK->>Provider: NEW: Request model execution via v2 Provider API
rect rgb(240, 240, 240)
Note over Provider,Schema: Validation & Schema Handshake
Provider->>Schema: CHANGED: Validate tool/response schemas
Schema-->>Provider: Return validated specification
end
Provider->>API: HTTP POST /v1/chat/completions
alt Streaming Flow
API-->>Provider: Server-Sent Events (SSE) Stream
Provider->>Provider: NEW: Parse stream using eventsource-parser
Provider-->>AISDK: Stream tokens/tool calls
AISDK-->>Client: Streamed UI chunks
else Unified Response
API-->>Provider: JSON Response Body
Provider-->>AISDK: Normalized Result
AISDK-->>App: Completion Object
App-->>Client: JSON Response
end
Note over Provider: CHANGED: Peer dependency requirement for Zod 3.25+ or v4
b8e2722 to
5b6a689
Compare
Bumps [@ai-sdk/openai-compatible](https://github.com/vercel/ai) from 0.2.16 to 2.0.41. - [Release notes](https://github.com/vercel/ai/releases) - [Changelog](https://github.com/vercel/ai/blob/main/CHANGELOG.md) - [Commits](https://github.com/vercel/ai/compare/@ai-sdk/openai-compatible@0.2.16...@ai-sdk/openai-compatible@2.0.41) --- updated-dependencies: - dependency-name: "@ai-sdk/openai-compatible" dependency-version: 2.0.41 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
5b6a689 to
e666343
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps @ai-sdk/openai-compatible from 0.2.16 to 2.0.41.
Release notes
Sourced from
@ai-sdk/openai-compatible's releases.... (truncated)
Commits
99327b1Version Packages (#14212)d42076dBackport: Add AI Gateway hint to provider READMEs (#14199)700ed7fVersion Packages (#14206)ec18852Backport: feat(gateway): add reranking model support (#14204)5b155e6Version Packages (#14202)1003609Backport: fix(ai): skip stringifying text when streaming partial text (#14200)9de7d7bBackport: chore(provider/gateway): update gateway model settings files v6 (#1...563c26aVersion Packages (#14190)ac80bc7Backport: fix(amazon-bedrock): preserve empty text blocks when reasoning cont...10afedeVersion Packages (#14176)