Skip to content

feat(channel): add Vercel AI Gateway support#103

Closed
DragonFSKY wants to merge 1 commit into
LeenHawk:mainfrom
DragonFSKY:add-vercel-ai-gateway-channel
Closed

feat(channel): add Vercel AI Gateway support#103
DragonFSKY wants to merge 1 commit into
LeenHawk:mainfrom
DragonFSKY:add-vercel-ai-gateway-channel

Conversation

@DragonFSKY
Copy link
Copy Markdown

@DragonFSKY DragonFSKY commented May 16, 2026

Summary

  • Add a first-class vercel channel for Vercel AI Gateway with the default https://ai-gateway.vercel.sh base URL.
  • Wire the channel through SDK feature flags, engine/store provider registration, and console provider forms.
  • Support Vercel AI Gateway's documented OpenAI-compatible APIs (models, chat completions, responses, embeddings), Anthropic Messages API, and /v1/credits usage requests.

Tests

  • cargo fmt --all --check
  • cargo test --workspace --all-targets --no-fail-fast
  • corepack pnpm --filter @gproxy/console typecheck
  • corepack pnpm --filter @gproxy/console test
  • git diff --check

Closes #102

@DragonFSKY DragonFSKY marked this pull request as draft May 16, 2026 10:52
@DragonFSKY DragonFSKY force-pushed the add-vercel-ai-gateway-channel branch 2 times, most recently from 3094dde to f73f3e4 Compare May 16, 2026 11:41
@DragonFSKY DragonFSKY force-pushed the add-vercel-ai-gateway-channel branch from f73f3e4 to 488385e Compare May 16, 2026 11:59
@LeenHawk
Copy link
Copy Markdown
Owner

我自己加了 下次你还是让AI读一下其他渠道再加吧

@LeenHawk LeenHawk closed this May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Vercel AI Gateway as a first-class channel

2 participants