test(langchain): types in `test_tool_call_limit` and `test_model_retry`
by cbornet
·
Feb 06, 2026 at 19:28 UTC
·
scan-a39d7007f09b2277
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%)
Add type annotations to test_tool_call_limit and test_model_retry
Added Callable import in test_model_retry and adjusted imports in test_tool_call_limit.
Callable import in test_model_retry and minor adjustments indicate types added.
Trusted contributor with 398 merged PRs. maintains 129 public repositories. has 177 followers.
Trusted contributor with 633 merged PRs. has 250 followers.
Review 1 high-priority file(s)
libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_call_limit.py
+242
242 lines changed; Source code
libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_model_retry.py
+13
Source code
34
minutes to review
medium
effort level
none
staleness risk
Standard review process
Good evidence, acceptable risk, ready for merge
Why is security_scan_clean missing? Consider adding this check.
Why is coverage_maintained missing? Consider adding this check.