feat(config): Add Fallback Model and Expanded Provider Support

Introduces a configurable fallback model and adds support for additional AI provider API keys in the environment setup.

- **Add Fallback Model Configuration (.taskmasterconfig):**
  - Implemented a new  section in .
  - Configured  as the default fallback model, enhancing resilience if the primary model fails.

- **Update Default Model Configuration (.taskmasterconfig):**
  - Changed the default  model to .
  - Changed the default  model to .

- **Add API Key Examples (assets/env.example):**
  - Added example environment variables for:
    -  (for OpenAI/OpenRouter)
    -  (for Google Gemini)
    -  (for XAI Grok)
  - Included format comments for clarity.
This commit is contained in:
Eyal Toledano
2025-04-16 00:35:30 -04:00
parent d84c2486e4
commit 1ab836f191
12 changed files with 1638 additions and 68 deletions

View File

@@ -1,12 +1,16 @@
{
"models": {
"main": {
"provider": "openai",
"modelId": "gpt-4o"
"provider": "google",
"modelId": "gemini-2.5-pro-latest"
},
"research": {
"provider": "google",
"modelId": "gemini-1.5-pro-latest"
"provider": "perplexity",
"modelId": "deep-research"
},
"fallback": {
"provider": "anthropic",
"modelId": "claude-3-7-sonnet-20250219"
}
}
}