Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

langchain: Import from langchain_core in langchain.smith to avoid deprecation warning #18129

Merged

Commits on Feb 26, 2024

  1. Import from langchain_core in langchain.smith

    Avoids deprecation warning that was trigger at import time,
    e.g. with `python -c 'import langchain.smith'`
    
        /opt/venv/lib/python3.12/site-packages/langchain/callbacks/__init__.py:37: LangChainDeprecationWarning: Importing this callback from langchain is deprecated. Importing it from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
    
        `from langchain_community.callbacks import base`.
    
        To install langchain-community run `pip install -U langchain-community`.
    simonschmidt committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    fe472fc View commit details
    Browse the repository at this point in the history