DeepSeek Provider
DeepSeek offers specialized code-focused models at competitive prices, optimized for programming tasks.
Setup
-
Get API Key: Sign up at DeepSeek Platform
-
Set Environment Variable:
bash export DEEPSEEK_API_KEY=your-deepseek-api-key
-
Configure MegaLinter:
yaml LLM_ADVISOR_ENABLED: true LLM_PROVIDER: deepseek LLM_MODEL_NAME: deepseek-chat LLM_MAX_TOKENS: 1000 LLM_TEMPERATURE: 0.1
Official Model List
For the most up-to-date list of DeepSeek models and their capabilities, see the official DeepSeek documentation:
Configuration Options
Basic Configuration
LLM_PROVIDER: deepseek
LLM_MODEL_NAME: deepseek-chat # or deepseek-coder
Advanced Configuration
# Custom API endpoint (if needed)
DEEPSEEK_BASE_URL: https://api.deepseek.com/v1
Troubleshooting
Common Issues
-
"Invalid API key"
- Verify your API key is correct
- Check account status and credits
- Ensure API access is enabled
-
"Rate limit exceeded"
- Check your plan's rate limits
- Implement rate limiting in your requests
- Consider upgrading your plan
-
"Model not available"
- Verify model name is correct
- Check if model is available in your region
- Some models may require special access