Files
claude-task-master/.changeset/ninety-ghosts-relax.md
Eyal Toledano c8722b0a7a feat(models): implement custom model support for ollama/openrouter
Adds the ability for users to specify custom model IDs for Ollama and OpenRouter providers, bypassing the internal supported model list.

    - Introduces --ollama and --openrouter flags for the 'task-master models --set-<role>' command.
    - Updates the interactive 'task-master models --setup' to include options for entering custom Ollama/OpenRouter IDs.
    - Implements live validation against the OpenRouter API when a custom OpenRouter ID is provided.
    - Refines the model setting logic to prioritize explicit provider flags/choices.
    - Adds warnings when custom models are set.
    - Updates the changeset file.
2025-04-27 17:25:54 -04:00

897 B

task-master-ai
task-master-ai
patch
  • feat: Add custom model ID support for Ollama and OpenRouter providers.
    • Adds the --ollama and --openrouter flags to task-master models --set-<role> command to set models for those providers outside of the support models list.
    • Updated task-master models --setup interactive mode with options to explicitly enter custom Ollama or OpenRouter model IDs.
    • Implemented live validation against OpenRouter API (/api/v1/models) when setting a custom OpenRouter model ID (via flag or setup).
    • Refined logic to prioritize explicit provider flags/choices over internal model list lookups in case of ID conflicts.
    • Added warnings when setting custom/unvalidated models.
    • We obviously don't recommend going with a custom, unproven model. If you do and find performance is good, please let us know so we can add it to the list of supported models.