
Kiln Check Finetune Deprecation
Check Kiln's fine-tunable model list for deprecated or unsupported base models.
Install
npx skills add Kiln-AI/Kiln --skill kiln-check-finetune-deprecation -g -a claude-code -y- Repository
- Kiln-AI/Kiln5.2k
- Category
- Engineering
- Updated
- 3d ago
- License
- See repository
- Context cost
- Mediumabout 1,857 tokens
- Runs scripts
- Yes, review before use
What it does
Check Kiln's fine-tunable model list for deprecated or unsupported base models. Use when the user wants to audit fine-tuning support, check if fine-tune base models are still valid, or mentions fine-tune model deprecation.
Check Fine-Tune Model Deprecation in Kiln
Audit the fine-tunable models listed in Kiln to find base models that are no longer supported for fine-tuning by their providers. This is separate from general model deprecation, a model can still be available for inference but no longer supported as a fine-tuning base.
Global Rules
- Sandbox: All
curl,uv run, andpython3commands that hit the network MUST userequired_permissions: ["all"]. The sandbox blocks network access. - Env vars: Source
.envbefore running check scripts:export $(grep -v '^#' .env | xargs) - Vertex AI auth: The Vertex check requires
gcloudCLI authentication. Before running, ask the user to rungcloud auth loginif they haven't recently. Ifgcloud auth print-access-tokenfails, prompt the user to authenticate. - Non-destructive: This skill only reports findings. It does not automatically remove or deprecate models.
Supported Providers
| Provider | Env Var | Auth |
|---|---|---|
| OpenAI | OPENAI_API_KEY | Bearer |
| Together AI | TOGETHER_API_KEY | Bearer |
| Vertex AI | VERTEX_PROJECT_ID + gcloud CLI auth | OAuth (gcloud) |
| Fireworks AI | FIREWORKS_API_KEY | Bearer |
Background
Kiln has two types of fine-tunable model entries:
- Static entries, Models in
libs/core/kiln_ai/adapters/ml_model_list.pywithprovider_finetune_idset. Currently used by Together AI and Vertex AI. - Dynamic entries (Fireworks), Fetched at runtime from
api.fireworks.ai/v1/accounts/fireworks/modelsfiltering bytunable=True. This list is managed by Fireworks and may include stale/unsupported models.
The API endpoint that serves the fine-tune dropdown is GET /api/finetune_providers in app/desktop/studio_server/finetune_api.py.
Phase 1, Check Static Fine-Tune IDs
Run the check script from the repo root:
