Skip to content

[codex] fix Claude AI Gateway key messaging#235

Open
harpreetarora wants to merge 1 commit into
mainfrom
codex/fix-claude-ai-gateway-copy
Open

[codex] fix Claude AI Gateway key messaging#235
harpreetarora wants to merge 1 commit into
mainfrom
codex/fix-claude-ai-gateway-copy

Conversation

@harpreetarora
Copy link
Copy Markdown

Summary

This updates the template copy and key-selection flow so Claude is presented as an AI Gateway-backed agent instead of requiring an Anthropic key.

What changed

  • pin the Claude and Codex API key check route to aigateway
  • update the API keys dialog to say Claude and Codex use AI Gateway
  • hide the Anthropic key entry unless a user already has a legacy saved Anthropic key
  • update the README environment variable docs so AI_GATEWAY_API_KEY is documented as the key for Claude
  • remove stale unused Claude/Anthropic key requirement constants from the task form

Why

The current implementation already executes Claude through AI Gateway, but the template docs and settings UI still imply that Claude needs ANTHROPIC_API_KEY. That creates a broken first-run experience and makes the public template page misleading.

Validation

  • pnpm lint
  • pnpm type-check
  • pnpm build

Impact

Users testing the template should now be prompted for AI Gateway when using Claude, and the repo docs better match the actual runtime behavior.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 13, 2026

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

Project Deployment Actions Updated (UTC)
coding-agent-platform Ready Ready Preview, Comment Apr 13, 2026 9:45pm

@harpreetarora harpreetarora marked this pull request as ready for review April 13, 2026 21:46
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.

1 participant