Skip to content

Fix LangChain load_tools import in smolagents tools docs - #692

Open
jaluik wants to merge 1 commit into
huggingface:mainfrom
jaluik:fix-smolagents-langchain-load-tools
Open

Fix LangChain load_tools import in smolagents tools docs#692
jaluik wants to merge 1 commit into
huggingface:mainfrom
jaluik:fix-smolagents-langchain-load-tools

Conversation

@jaluik

@jaluik jaluik commented Jun 5, 2026

Copy link
Copy Markdown

Summary

  • update the smolagents tools docs to import load_tools from langchain_community.agent_toolkits.load_tools
  • add the SerpAPI Python package to the English install command
  • instantiate InferenceClientModel() in the LangChain examples so the snippets are self-contained
  • sync the same import/model snippet fix across translated tools docs

Verification

  • git diff --check
  • rg -n "from langchain\.agents import load_tools" units || true
  • verified from langchain_community.agent_toolkits.load_tools import load_tools and load_tools(["serpapi"])[0] in a temporary Python environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant