#2

Use OIDC token flow for Vercel auth

Openscotttrinhwants to merge intofrom

The latest version of vercel allows the Sandbox SDK to use the standard OIDC token flow for getting credentials so no longer needs the TOKEN, PROJECT_ID, and TEAM_ID environment variables to be set.

Activity

4
vercel[bot]6mo ago

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
openai-agents-python-template ReadyPreview, CommentApr 22, 2026 8:39pm
socket-security[bot]6mo ago

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
vercel@​0.5.6 ⏵ 0.5.8

View full report

copilot-pull-request-reviewer[bot]reviewed6mo ago
copilot-pull-request-reviewer[bot]6mo ago

Pull request overview

Updates the FastAPI Vercel Sandbox starter to use the Vercel Python SDK’s OIDC-based credential flow, removing the need to configure Vercel-specific token/team/project environment variables.

Changes:

  • Replace openai-agents[vercel] extra with explicit vercel>=0.5.8 dependency.
  • Update /api/run to instantiate VercelSandboxClient() without token/team/project inputs and remove related env var checks.
  • Refresh docs/examples to only require OPENAI_API_KEY.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
FileDescription
uv.lockRemoves the openai-agents vercel extra usage and bumps vercel to 0.5.8.
pyproject.tomlSwaps openai-agents[vercel] for openai-agents + vercel>=0.5.8.
app.pyDrops Vercel env var validation and uses OIDC-based VercelSandboxClient() construction.
README.mdRemoves Vercel token/team/project setup instructions; keeps only OPENAI_API_KEY.
.env.exampleRemoves Vercel env vars and updates default model example value.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.