feat: add EvoLink LLM provider#195
Conversation
Add a first-class EvoLink LLM integration using the existing OpenAI-compatible chat path with EVOLINK_* configuration defaults. Register the provider in default LLM selection, document usage, and cover config/default-provider behavior with unit tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
📝 WalkthroughWalkthroughAdds EvoLink as an OpenAI-compatible LLM provider. Introduces ChangesEvoLink LLM Provider
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
Real EvoLink verification completed from Director provider path: |
Related Issue
Closes #194
Description
Adds EvoLink as a first-class LLM provider for Director's existing
BaseLLMabstraction.EvoLink's language API is OpenAI-compatible, so this PR keeps the implementation small by reusing the existing
OpenAIchat-completions formatting and response parsing while adding EvoLink-specific configuration defaults:EVOLINK_API_KEYEVOLINK_API_BASE=https://direct.evolink.ai/v1EVOLINK_CHAT_MODEL=gpt-5.2DEFAULT_LLM=evolinkThis also adds MkDocs documentation, updates the sample env file, and covers provider configuration/default selection with unit tests.
Testing
env -u all_proxy -u http_proxy -u https_proxy -u ALL_PROXY -u HTTP_PROXY -u HTTPS_PROXY \ .venv/bin/ruff check director/constants.py director/llm/__init__.py director/llm/evolink.py tests/llm/test_evolink.py # All checks passed!env -u all_proxy -u http_proxy -u https_proxy -u ALL_PROXY -u HTTP_PROXY -u HTTPS_PROXY \ .venv/bin/black --check director/llm/evolink.py director/llm/__init__.py director/constants.py tests/llm/test_evolink.py # All done! 4 files would be left unchanged.env -u all_proxy -u http_proxy -u https_proxy -u ALL_PROXY -u HTTP_PROXY -u HTTPS_PROXY \ .venv/bin/python -m pytest tests/llm/test_evolink.py -q # 4 passed, 10 warnings in 0.61senv -u all_proxy -u http_proxy -u https_proxy -u ALL_PROXY -u HTTP_PROXY -u HTTPS_PROXY \ .venv/bin/python -m py_compile director/constants.py director/llm/__init__.py director/llm/evolink.py tests/llm/test_evolink.py # passedReal EvoLink compatibility check:
Director provider path:
Attempted docs validation:
Summary by CodeRabbit
Release Notes
New Features
EVOLINK_API_KEY,EVOLINK_API_BASE,EVOLINK_CHAT_MODEL).Documentation
Tests