feat: Remove OpenRouter support, replace litellm with Chutes API#9
feat: Remove OpenRouter support, replace litellm with Chutes API#9
Conversation
- Remove OPENROUTER from Provider enum, add CHUTES - Update get_api_key() to use CHUTES_API_KEY - Update get_base_url() to use https://api.chutes.ai/v1 - Rewrite LLM client using httpx instead of litellm - Update default model to deepseek/deepseek-chat - Remove litellm from requirements.txt and pyproject.toml - Update all documentation references - Keep LiteLLMClient alias for backward compatibility
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Part of Umbrella PR: #6 (Epic: Complete Chutes API Integration) This PR is the final step in the stacked PR sequence:
Note: After #7 and #8 are merged, this PR should be rebased on main before merging. Please see #6 for the complete merge strategy. |
Summary
This PR removes OpenRouter support and replaces litellm with direct Chutes API client using httpx.
Changes
get_api_key()to use CHUTES_API_KEYget_base_url()to use https://api.chutes.ai/v1Breaking Changes
Migration
Testing
python3 -c "from src.llm.client import LLMClient; print('OK')"Related