Skip to content

Update AI models list - #2470

Open
ravikiranvm wants to merge 3 commits into
mainfrom
ops-4792
Open

Update AI models list#2470
ravikiranvm wants to merge 3 commits into
mainfrom
ops-4792

Conversation

@ravikiranvm

@ravikiranvm ravikiranvm commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Fixes OPS-4792.

Additional Notes

  1. Adds new models from OpenAI, Anthropic, Google, xAI
  2. Removes deprecated models (verified from the provider official developer docs)

Copilot AI lite review requested due to automatic review settings September 4, 2026 10:11
@linear

linear Bot commented Sep 4, 2026

Copy link
Copy Markdown

OPS-4792

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The model-list removals driven by the updated sync/exclusion rules can make existing saved AI connections fail provider/model validation when edited, unless a backward-compat handling or migration is added.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the AI provider model allow-lists in packages/openops and adjusts the tools/scripts/sync-models.ts sync configuration so provider model arrays can be refreshed from upstream @ai-sdk/* type definitions.

Changes:

  • Updated tools/scripts/sync-models.ts type sources and expanded excluded-model filters to control which upstream AI SDK model IDs are synced into provider files.
  • Refreshed OpenOps provider model lists for Anthropic, OpenAI, Google, Google Vertex, Groq, and xAI to reflect a newer set of supported model IDs.
  • Trimmed/removed several previously listed model IDs across providers and introduced new ones (notably newer Gemini/Claude/Grok and additional GPT-* variants).
File summaries
File Description
tools/scripts/sync-models.ts Adjusts upstream model-id type sources and excluded-model filters that drive generated provider model lists.
packages/openops/src/lib/ai/providers/xai.ts Updates xAI (Grok) model allow-list exposed to UI/validation.
packages/openops/src/lib/ai/providers/openai.ts Updates OpenAI model allow-list exposed to UI/validation.
packages/openops/src/lib/ai/providers/groq.ts Updates Groq model allow-list exposed to UI/validation.
packages/openops/src/lib/ai/providers/google.ts Updates Google Gemini model allow-list exposed to UI/validation.
packages/openops/src/lib/ai/providers/google-vertex.ts Updates Vertex model allow-list and retains Claude-via-Vertex routing behavior.
packages/openops/src/lib/ai/providers/anthropic.ts Updates Anthropic model allow-list exposed to UI/validation.
Review details
  • Files reviewed: 7/7 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread tools/scripts/sync-models.ts
@sonarqubecloud

sonarqubecloud Bot commented Sep 4, 2026

Copy link
Copy Markdown

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.

2 participants