update-provider-models

Update provider model IDs across AI TOOLKIT codebase and AI Gateway.

8|Updated Mar 7, 2025
One-click install
npx skills add https://github.com/khulnasoft/ai-toolkit --skill update-provider-models-khulnasoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-provider-models
Source: https://github.com/khulnasoft/ai-toolkit/tree/main/skills/update-provider-models
Command: npx skills add https://github.com/khulnasoft/ai-toolkit --skill update-provider-models-khulnasoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add new or remove obsolete model IDs for existing AI TOOLKIT providers. This skill streamlines updating model references across provider packages when adding a new model, deprecating an old one, or processing a batch of changes from an issue.

Core Features & Use Cases

  • Automates the process of applying model ID changes consistently across primary provider code and the AI Gateway.
  • Supports two workflows: <adding-new-model> for new IDs and <removing-obsolete-model> for removals, including batch processing from issues.
  • Ensures exact matching, respects sort order, and avoids unintended changes outside the model ID references.

Quick Start

Provide the provider name, action (add/remove), and the new model ID to update across all relevant files.

Frequently Asked Questions about update-provider-models

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update provider model IDs across the AI Toolkit codebase?

You can automate updating provider model IDs by providing the provider name, action, and model ID to apply changes consistently across primary provider packages and the AI Gateway.

What is the best way to add a new model ID to an existing AI Toolkit provider?

The best way to add a new model ID to an existing AI Toolkit provider is using the adding-new-model workflow, which ensures exact matching and preserves existing sort order across the codebase.

How does batch processing for removing obsolete model IDs work?

Batch processing for removing obsolete model IDs works by taking a batch of changes from issues and systematically removing the IDs from primary provider packages and the AI Gateway while preserving sort order.

Does updating AI Toolkit model references preserve existing sort order?

Yes, updating AI Toolkit model references preserves existing sort order and ensures exact matching of IDs, preventing unintended changes to unrelated code during the add or remove process.

Can I process multiple model ID changes from an issue across provider packages?

Yes, you can process a batch of model ID changes from an issue across primary provider packages and the AI Gateway, applying additions or removals consistently without altering unrelated code.