feat: lazy load imports for language model component by jordanrfrazier · Pull Request #11737 · langflow-ai/langflow (original) (raw)

HzaRashid

HzaRashid

@jordanrfrazier @HzaRashid

Ensures that only the necessary dependencies are required. For example, if OpenAI provider is used, it will now only import langchain_openai, rather than requiring langchain_anthropic, langchain_ibm, etc.

@jordanrfrazier @HzaRashid

@autofix-ci @HzaRashid

@autofix-ci @HzaRashid

@jordanrfrazier @HzaRashid

@autofix-ci

HzaRashid

@jordanrfrazier


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

@jordanrfrazier

@autofix-ci

@autofix-ci

@jordanrfrazier

@autofix-ci

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})