Skip to content

Prep work for AI-SDK model sync#2132

Merged
bigfluffycookie merged 3 commits intomainfrom
lb/sortmodels
Mar 17, 2026
Merged

Prep work for AI-SDK model sync#2132
bigfluffycookie merged 3 commits intomainfrom
lb/sortmodels

Conversation

@bigfluffycookie
Copy link
Copy Markdown
Contributor

@bigfluffycookie bigfluffycookie commented Mar 14, 2026

Part of OPS-3907

  • Sorts the model list
  • Adds doc link for each provider
  • Merges the two arrays in google-vertex

@linear
Copy link
Copy Markdown

linear Bot commented Mar 14, 2026

@@ -3,20 +3,20 @@ import { LanguageModel } from 'ai';
import { AiProvider } from '../providers';
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

sorts them in prep for the update script, else it looks like theres a million changes

@bigfluffycookie bigfluffycookie changed the title Sort AI models Prep work for AI-SDK model sync Mar 14, 2026
@sonarqubecloud
Copy link
Copy Markdown

@bigfluffycookie bigfluffycookie marked this pull request as ready for review March 17, 2026 08:39
Copilot AI review requested due to automatic review settings March 17, 2026 08:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Prep work for upcoming AI-SDK model synchronization by normalizing provider model catalogs and adding quick-reference documentation links.

Changes:

  • Reorders/sorts model arrays across multiple AI providers for consistency.
  • Adds provider documentation links (generally model docs) at the top of several provider files.
  • Consolidates Google Vertex’s separate Gemini/Claude model arrays into a single list.

Reviewed changes

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

Show a summary per file
File Description
packages/openops/src/lib/ai/providers/xai.ts Adds xAI models doc link and sorts/normalizes Grok model list ordering.
packages/openops/src/lib/ai/providers/together-ai.ts Adds TogetherAI docs link and reorders the Together model list.
packages/openops/src/lib/ai/providers/perplexity.ts Adds Perplexity model docs link and sorts the Sonar model list.
packages/openops/src/lib/ai/providers/openai.ts Adds OpenAI models docs link and reorders model list.
packages/openops/src/lib/ai/providers/mistral.ts Adds Mistral models docs link and reorders Pixtral entries.
packages/openops/src/lib/ai/providers/groq.ts Adds Groq models docs link and sorts model list (incl. DeepSeek distills).
packages/openops/src/lib/ai/providers/google.ts Adds Gemini models docs link and sorts/reorders Gemini model list.
packages/openops/src/lib/ai/providers/google-vertex.ts Adds Vertex models docs link; merges Gemini/Claude arrays into a single list used by the provider.
packages/openops/src/lib/ai/providers/deep-seek.ts Adds DeepSeek docs link comment.
packages/openops/src/lib/ai/providers/cohere.ts Adds Cohere models docs link and sorts command model list.
packages/openops/src/lib/ai/providers/cerebras.ts Adds Cerebras docs link and reorders model list.
packages/openops/src/lib/ai/providers/anthropic.ts Adds Anthropic models docs link and sorts model list.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment thread packages/openops/src/lib/ai/providers/xai.ts
Comment thread packages/openops/src/lib/ai/providers/deep-seek.ts
@bigfluffycookie bigfluffycookie merged commit 71eefa7 into main Mar 17, 2026
25 checks passed
@bigfluffycookie bigfluffycookie deleted the lb/sortmodels branch March 17, 2026 10:10
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.

3 participants