{"version":"1.0.111","anchor":"api-based-model-validation","canonical_anchor":"api-based-model-validation","heading":"API-Based Model Validation","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.111\/e\/api-based-model-validation","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.111","markdown":"### API-Based Model Validation\n\n**What:** The `\/model` command now validates custom model names by making a test API request before accepting them.\n\n**How to use:**\n\n`# Try setting a custom model - it will be validated first \/model claude-opus-4-20250514 # If the model doesn't exist, you'll get an error immediately: # \"Model 'claude-opus-4-20250514' not found\"` **Details:**\n\n- Validation occurs automatically when setting custom models\n- Built-in models (sonnet, haiku, opus) bypass validation for faster response\n- Validated models are cached to avoid repeated API calls\n- Provides specific error messages for model-not-found vs other API errors\n- **Evidence**: `HDB()` at line 425289 in v1.0.111.js"}