Skip to content

feat: support multiple AI providers for CV analysis - #212

Draft
mafonya wants to merge 1 commit into
chamals3n4:mainfrom
mafonya:codex/upstream-ai-providers
Draft

mafonya wants to merge 1 commit into
chamals3n4:mainfrom
mafonya:codex/upstream-ai-providers

Conversation

@mafonya

@mafonya mafonya commented Nov 27, 2026

Copy link
Copy Markdown

Purpose

Allow teams to use their existing OpenAI, Anthropic or xAI account for optional CV analysis, in addition to Gemini.

Approach

Add super-admin provider and model settings with encrypted stored keys, provider model lists, and a connection test. Existing environment-based Gemini configuration remains available. Changing providers disables analysis until it is explicitly enabled again; the worker snapshots the enabled provider and credentials together before a job runs.

Gemini receives the PDF. Other providers receive locally extracted text, and image-only PDFs cannot be analysed by those providers. Provider lifecycle information varies; a model missing from the compatible list is reported as unavailable, not necessarily deprecated.

Breaking changes

Apply the database migration before starting the new API and worker. The API and worker must share the same encryption key. Existing Gemini environment configuration remains supported.

Related issues

Checklist

  • Backend and frontend Vitest suites pass locally against an isolated database.
  • Schema changes include the generated migration files.
  • Documentation is updated.
  • No keys, passwords or tokens are committed.

UI screenshots remain to be supplied for upstream review.

@vercel

vercel Bot commented Nov 27, 2026

Copy link
Copy Markdown

@mafonya is attempting to deploy a commit to the chamalsena Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · 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

This branch has not been deployed

No deployments
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