fix(deepseek): Tool Choice to `required` for Azure Deployment
by keenborder786
·
Feb 06, 2026 at 19:30 UTC
·
scan-b0e7f300d6075bb4
Get this automatically on every PR
Install the Axiomo GitHub App to get Signals as check runs and PR comments on every pull request.
Risk level: Low (20%)
Make Tool Choice a required parameter for Azure Deepseek deployment.
langchain_deepseek/chat_models.py adds logic to bind tools and check base URL relevant to Azure.
test_chat_models.py adds tests related to Azure OpenAI integration.
Established contributor with 89 merged PRs. maintains 101 public repositories. unfamiliar with 2 files.
Review 1 high-priority file(s)
libs/partners/deepseek/tests/unit_tests/test_chat_models.py
+113
113 lines changed; Source code
libs/partners/deepseek/langchain_deepseek/chat_models.py
+6
Source code
20
minutes to review
medium
effort level
none
staleness risk
Standard review process
Some concerns to address before approval
Why is security_scan_clean missing? Consider adding this check.
Why is coverage_maintained missing? Consider adding this check.