Skip to content

Add dependency guard with helpful error#163

Open
mendral-app[bot] wants to merge 1 commit into
mainfrom
mendral/add-dependency-guard-gemini
Open

Add dependency guard with helpful error#163
mendral-app[bot] wants to merge 1 commit into
mainfrom
mendral/add-dependency-guard-gemini

Conversation

@mendral-app

@mendral-app mendral-app Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Wraps langchain_core imports in gemini.py with a try/except ImportError guard that raises a clear, actionable error message telling users to install blaxel[langgraph]
  • Prevents a raw ModuleNotFoundError crash when users trigger the Gemini model path without the langgraph optional dependencies installed

Resolves insight: Missing langchain_core import guard in langgraph/gemini.


Note

Created by Mendral. Tag @mendral-app with feedback or questions.

Wrap langchain_core imports in gemini.py with try/except ImportError that
raises a clear message telling users to install blaxel[langgraph] instead
of showing a raw ModuleNotFoundError.
@mendral-app mendral-app Bot requested a review from a team June 10, 2026 19:52
@mendral-app mendral-app Bot marked this pull request as ready for review June 10, 2026 20:01
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.

0 participants