Skip to content

docs(langchain): correct import path in ModelCallLimitMiddleware docstring#36895

Merged
Mason Daugherty (mdrxy) merged 1 commit into
langchain-ai:masterfrom
bansalkanav:patch-7
Apr 21, 2026
Merged

docs(langchain): correct import path in ModelCallLimitMiddleware docstring#36895
Mason Daugherty (mdrxy) merged 1 commit into
langchain-ai:masterfrom
bansalkanav:patch-7

Conversation

@bansalkanav
Copy link
Copy Markdown
Contributor

Summary

Updates the example in ModelCallLimitMiddleware docstring to use the correct import path. The previous import referenced a non-existent module, which could cause confusion for users following the documentation.

@github-actions github-actions Bot added documentation Improvements or additions to documentation langchain `langchain` package issues & PRs size: XS < 50 LOC labels Apr 20, 2026
@langchain-automated-triage langchain-automated-triage Bot added trusted-contributor >= 5 merged PRs in the `langchain-ai/langchain` repo external labels Apr 20, 2026
Copy link
Copy Markdown
Contributor

@corridor-security corridor-security Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary: This PR only updates a docstring import path for ModelCallLimitMiddleware and does not modify runtime behavior or security-relevant logic.

Risk: Low risk. No new attack surface, data handling, authentication, or authorization changes were introduced; therefore, no exploitable vulnerabilities are present.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 20, 2026

Merging this PR will not alter performance

✅ 2 untouched benchmarks
⏩ 13 skipped benchmarks1


Comparing bansalkanav:patch-7 (393cf33) with master (ee95ad6)2

Open in CodSpeed

Footnotes

  1. 13 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on master (8fec4e7) during the generation of this report, so ee95ad6 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@mdrxy Mason Daugherty (mdrxy) changed the title docs(langchain): correct import path in ModelCallLimitMiddleware docstring docs(langchain): correct import path in ModelCallLimitMiddleware docstring Apr 21, 2026
@mdrxy
Copy link
Copy Markdown
Member

Thank you!

@mdrxy Mason Daugherty (mdrxy) merged commit fb6ab99 into langchain-ai:master Apr 21, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation external langchain `langchain` package issues & PRs size: XS < 50 LOC trusted-contributor >= 5 merged PRs in the `langchain-ai/langchain` repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants