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

## 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.
This commit is contained in:
Kanav Bansal
2026-04-21 11:13:27 +05:30
committed by GitHub
parent 40026a7282
commit fb6ab993a7

View File

@@ -108,7 +108,7 @@ class ModelCallLimitMiddleware(
Example:
```python
from langchain.agents.middleware.call_tracking import ModelCallLimitMiddleware
from langchain.agents.middleware import ModelCallLimitMiddleware
from langchain.agents import create_agent
# Create middleware with limits