Skip to content

feat(ai): replace OpenCode Zen with AI Gateway - #11

Open
Aditya190803 wants to merge 1 commit into
feat/ui-overhaulfrom
feat/ai-gateway
Open

Aditya190803 wants to merge 1 commit into
feat/ui-overhaulfrom
feat/ai-gateway

Conversation

@Aditya190803

Copy link
Copy Markdown
Owner

Generation now uses AI Gateway's OpenAI-compatible chat endpoint instead of OpenCode Zen across resume analysis, cover letters, resume generation, LaTeX repair, and interview preparation. Health checks use the same gateway configuration.

  • Replace provider environment variables with AI_GATEWAY_API_KEY and optional AI_GATEWAY_BASE_URL; keep MODEL_NAME configurable and preserve provider/vendor prefixes.
  • Preserve existing prompts, temperatures, normalization, caching, and interview retries. Add fetch cancellation for the configured timeout and exclude upstream error bodies from failures.
  • Update deployment checks, .env.example, README, and agent instructions. Add transport and health-check regression coverage.

Depends on #10 (feat/ui-overhaul). Merge the parent before this PR.

Validation: vp install --frozen-lockfile, vp check, vp run lint, and vp run typecheck passed; targeted gateway/generation/health tests: 27 passed. Full suite: 56 files / 348 tests passed; coverage thresholds passed (65.28% statements, 59.29% branches, 62.81% functions, 66.05% lines). vp run build passed.

Setup: create a managed gateway key and choose a chat-capable model available to it via /v1/models. The default is the documented claude-sonnet-5 example. Replace legacy OpenCode environment settings in deployment. Connected Codex subscription seats require /v1/responses, so choose a chat-capable provider for this integration. An authenticated gateway call was not exercised because no managed key is configured locally.

Gateway documentation: https://ai-gateway.adityamer.dev/docs

@vercel

vercel Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
application-tracking-system Ready Ready Preview Oct 3, 2026 7:25am UTC

@coderabbitai

coderabbitai Bot commented Oct 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a6982db0-85f2-4fa5-8ea4-339b9253a166

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch was successfully deployed

1 active deployment
Preview — 97986a25 Deployed Oct 3, 2026 by vercel[bot]
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