Trim any-llm development dependencies - #122
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
📝 WalkthroughWalkthroughDevelopment dependencies now select specific AnyLLM provider extras. Shared test discovery filters providers by successful SDK imports, and compatibility and factory tests use that runtime-loadable provider set. ChangesRuntime-loadable AnyLLM provider testing
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
|
/agentic_review |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #122 +/- ##
=======================================
Coverage 99.86% 99.86%
=======================================
Files 115 116 +1
Lines 12327 12345 +18
Branches 736 737 +1
=======================================
+ Hits 12310 12328 +18
Misses 12 12
Partials 5 5 ☔ View full report in Codecov by Harness. |
Code Review by Qodo
Context used✅ Compliance rules (platform):
46 rules 1.
|
|
/agentic_review |
PR Summary by QodoTrim AnyLLM dev extras and make provider tests import-safe
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
|
Code review by qodo was updated up to the latest commit ed89369 |
Summary
any-llm-sdk[all]development extra with the providers and exception adapter used by this projectuv.lock, removing unused provider SDK dependency treesWhy
The development environment installed every optional AnyLLM provider even though weather-briefing only supports DeepSeek, OpenAI, and OpenRouter at runtime. Slimming that dependency group made provider-wide unit tests fail while importing optional SDKs, so the tests now classify every loadable provider and retain the fixed default-header compatibility guard.
Impact
The dev and unittest environments resolve substantially fewer packages without changing production behavior or the Docker dependency group.
Validation
prek run --all-filesuv run --with pytest --with pytest-cov -- pytest --cov --cov-branch --cov-report=xml(1254 passed, line coverage 99.90%, branch coverage 99.66%)0 issues)Summary by CodeRabbit
Bug Fixes
Tests