Skip to content

The agent engineering platform.

docs: replace deprecated load_tools in stackexchange.mdx (#31216)

Michael Li40be8d1d90d7
diff --git a/docs/docs/integrations/providers/stackexchange.mdx b/docs/docs/integrations/providers/stackexchange.mdx
index b3b00932f9..08167db3ba 100644
--- a/docs/docs/integrations/providers/stackexchange.mdx
+++ b/docs/docs/integrations/providers/stackexchange.mdx
@@ -29,7 +29,7 @@ For a more detailed walkthrough of this wrapper, see [this notebook](/docs/integ
You can also easily load this wrapper as a Tool (to use with an Agent).
You can do this with:
```python
-from langchain.agents import load_tools
+from langchain_community.agent_toolkits.load_tools import load_tools
tools = load_tools(["stackexchange"])
```