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.
17 lines
1.3 KiB
Plaintext
17 lines
1.3 KiB
Plaintext
# Required
|
|
ANTHROPIC_API_KEY=your-api-key-here # For most AI ops -- Format: sk-ant-api03-... (Required)
|
|
PERPLEXITY_API_KEY=pplx-abcde # For research -- Format: pplx-abcde (Optional, Highly Recommended)
|
|
OPENAI_API_KEY=sk-proj-... # For OpenAI/OpenRouter models (Optional) -- Format: sk-proj-...
|
|
GOOGLE_API_KEY=AIzaSy... # For Google Gemini models (Optional)
|
|
GROK_API_KEY=your-grok-api-key-here # For XAI Grok models (Optional)
|
|
|
|
# Optional - defaults shown
|
|
MODEL=claude-3-7-sonnet-20250219 # Recommended models: claude-3-7-sonnet-20250219, claude-3-opus-20240229 (Required)
|
|
PERPLEXITY_MODEL=sonar-pro # Make sure you have access to sonar-pro otherwise you can use sonar regular (Optional)
|
|
MAX_TOKENS=64000 # Maximum tokens for model responses (Required)
|
|
TEMPERATURE=0.2 # Temperature for model responses (0.0-1.0) - lower = less creativity and follow your prompt closely (Required)
|
|
DEBUG=false # Enable debug logging (true/false)
|
|
LOG_LEVEL=info # Log level (debug, info, warn, error)
|
|
DEFAULT_SUBTASKS=5 # Default number of subtasks when expanding
|
|
DEFAULT_PRIORITY=medium # Default priority for generated tasks (high, medium, low)
|
|
PROJECT_NAME={{projectName}} # Project name for tasks.json metadata |