Files
claude-task-master/tasks
Eyal Toledano a40805adf7 fix(cli): Fix interactive model setup (models --setup)
The interactive model setup triggered by `task-master models --setup` was previously attempting to call non-existent setter functions (`setMainModel`, etc.) in `config-manager.js`, leading to errors and preventing configuration updates.

This commit refactors the `--setup` logic within the `models` command handler in `scripts/modules/commands.js`. It now correctly:

- Loads the current configuration using `getConfig()`." -m "- Updates the appropriate sections of the loaded configuration object based on user selections from `inquirer`." -m "- Saves the modified configuration using the existing `writeConfig()` function from `config-manager.js`." -m "- Handles disabling the fallback model correctly."
2025-04-21 21:43:10 -04:00
..
2025-04-08 15:51:55 -04:00
2025-03-24 23:43:42 -04:00
2025-03-31 17:09:31 +02:00
2025-04-08 15:55:20 -04:00
2025-04-08 15:55:20 -04:00
2025-04-08 15:55:22 -04:00
2025-04-08 15:55:22 -04:00
2025-04-08 15:55:22 -04:00