Repository navigation
feat: add Vercel AI Gateway support - #923
Merged
Merged
Conversation
Astro-Han
force-pushed
the
feat/vercel-ai-gateway-support
branch
from
July 13, 2026 20:22
b6a6508 to
0ed8ad3
Compare
57 tasks done
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.
Summary
vercel.creator/modelIDs, and exercises reasoning plus deterministic two-stage tool-result replay through the shared OpenAI-compatible adapter.Why
Issue #860 requires each hosted provider to ship as an independently usable vertical slice rather than another hand-maintained parallel path. Vercel AI Gateway needs a stable identity, honest discovery/authentication boundaries, exact model IDs, end-to-end host persistence, and governed brand provenance.
Refs #860.
Scope
This PR adds only Vercel AI Gateway. It does not add a
vercel-ai-gatewayalias or migration path, Vercel AI SDK integration, OpenRouter, provider-specific upstream accounts, another provider, or Phase 7 work.Verification
npm run test— passed across scripts, Core, Storage, Runtime, Computer Use, Headless, CLI, UI, and Desktop.npm run typecheck— passed for every workspace.npm --workspace @maka/desktop run build:renderer— passed; the packaged third-party notice checker confirmed the byte-identical notice.npm run check:staleandgit diff --check— passed.Authorization, inference uses Bearer authentication, exactxai/grok-4.3survives both turns,reasoning_effortandreasoning_contentare preserved, and the tool result is replayed before the final response.vercel.svgbyte-compares with Lobe Icons commit32f4083f7a20b67ecdc7b29c0af031ada5a29c52; both SHA-256 values are4874d52d8b2ce7c309cbd10c424fee123b2c9483e76d76ad0dca41794483eb24.Impact
Users can configure and run Vercel AI Gateway through Desktop, CLI, storage-backed sessions, and headless environments using
AI_GATEWAY_API_KEYand exact gateway model IDs. Existing persisted provider identities and connections require no migration. Release notes should mention the new provider.Reviewer notes
The provider-specific behavior is limited to existing registry adapter/override seams. The monochrome upstream SVG remains unmodified and renders through
ProviderAssetMask; provenance, immutable path, license, and full hash are recorded in the shared third-party notice inventory.Ready for review
Verificationexplains why it is not applicable