Skip to content

Conversation

MichaelLi65535
Copy link
Contributor

@MichaelLi65535 MichaelLi65535 commented May 12, 2025

Thank you for contributing to LangChain!

  • PR title: "package: description"

    • Where "package" is whichever of langchain, core, etc. is being modified. Use "docs: ..." for purely docs changes, "infra: ..." for CI changes.
    • Example: "core: add foobar LLM"
  • PR message: Delete this entire checklist and replace with

    • Description: a description of the change
    • Issue: the issue # it fixes, if applicable
    • Dependencies: any dependencies required for this change
    • Twitter handle: if your PR gets announced, and you'd like a mention, we'll gladly shout you out!
  • Add tests and docs: If you're adding a new integration, please include

    1. a test for the integration, preferably unit tests that do not rely on network access,
    2. an example notebook showing its use. It lives in docs/docs/integrations directory.
  • Lint and test: Run make format, make lint and make test from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:

  • Make sure optional dependencies are imported within a function.
  • Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests.
  • Most PRs should not touch more than one package.
  • Changes should be backwards compatible.

If no one reviews your PR within a few days, please @-mention one of baskaryan, eyurtsev, ccurme, vbarda, hwchase17.

Copy link

vercel bot commented May 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2025 3:37pm

@dosubot dosubot bot added size:S labels May 12, 2025
@MichaelLi65535 MichaelLi65535 changed the title docs: replace initialize_agent with create_react_agent in searchapi docs: replace initialize_agent with create_react_agent in searchapi - replace deprecated load_tools May 12, 2025
Copy link
Collaborator

@ccurme ccurme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update to use load_tools from langchain_community
@dosubot dosubot bot added size:XS and removed size:S labels May 13, 2025
@MichaelLi65535
Copy link
Contributor Author

Do we not want to use SearchAPIRun as is done here? https://github.com/langchain-ai/langchain-community/blob/f8090e0b06b938675a7e0644d7a063d46700c29a/libs/community/langchain_community/agent_toolkits/load_tools.py#L375

That's a great idea! Thanks @ccurme ! I've updated the codes for this.

@dosubot dosubot bot added the lgtm label May 13, 2025
@ccurme ccurme merged commit 275e3b6 into langchain-ai:master May 13, 2025
13 checks passed
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.

2 participants