mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-23 20:23:59 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user