Repository navigation
fix: include LangChain Anthropic in agent extras - #516
abhinavrastogi2627 wants to merge 2 commits into
Conversation
7cc0327 to
532f18b
Compare
|
Rebased onto the current main branch and regenerated the Poetry lock metadata, preserving the upstream dependency fixes. Validation: |
|
Could you review this when you have time? GitHub reports no merge conflicts. The lock validation, clean installs of the extra and the unit suite passed, as detailed above. Please let me know if you would prefer a different dependency constraint. |
|
Resolved the lockfile conflict in 248d4f2 by merging current main and regenerating with Poetry 2.5.1. This preserves the upstream dependency security updates and keeps the integration extra available independently and through Validation: |
The documented
pip install 'conductor-python[agents]'leaves43_react_agent_multi_model.pyunable to importChatAnthropic. Add optionallangchain-anthropic>=1.5.5toagentsand expose a standalonelangchain-anthropicextra. Update the extras table and regenerate the Poetry lockfile; resolving the new integration also updates the locked Anthropic SDK and LangChain Core versions.Fixes #486. This is the standalone packaging change requested in #495.
Validation: clean
.[agents]install, dependency compatibility check, and the affected example's model/graph construction passed with network access blocked. Built the wheel, verified optional dependency markers, and installed/imported its standalone extra in a second clean environment. Poetry lock validation and 2,671 unit tests passed (1 skipped). The full five-suite run has the same 2 failures and 48 errors as unchanged main (worker collection effects and integration setup requiring a local server); no new failures. Live server/LLM execution was not tested.