Skip to content

docs(langchain): correct import paths in agent middleware docstrings#36987

Merged
ccurme (ccurme) merged 1 commit intolangchain-ai:masterfrom
bansalkanav:master
Apr 26, 2026
Merged

docs(langchain): correct import paths in agent middleware docstrings#36987
ccurme (ccurme) merged 1 commit intolangchain-ai:masterfrom
bansalkanav:master

Conversation

@bansalkanav
Copy link
Copy Markdown
Contributor

Summary

Updates the example import paths in ModelFallbackMiddleware and TodoListMiddleware docstrings to use the correct module path. The previous imports referenced non-existent modules, which could cause confusion for users following the documentation.

Impact

Improves documentation accuracy and developer experience. No functional changes.

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

codspeed-hq Bot commented Apr 24, 2026

Merging this PR will not alter performance

✅ 2 untouched benchmarks
⏩ 13 skipped benchmarks1


Comparing bansalkanav:master (a6449c7) with master (7b09eb7)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 (3dd0ad9) during the generation of this report, so 7b09eb7 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@ccurme ccurme (ccurme) merged commit 4613a4d into langchain-ai:master Apr 26, 2026
53 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