fix(models): handle google provider import errors and add dependency (#952)

* fix(models): improve provider import guidance and add google provider dep

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(reflection): prefer provider install hint on transitive import errors

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Xinmin Zeng
2026-03-03 14:56:54 +08:00
committed by GitHub
parent 7754c49217
commit 8342e88534
7 changed files with 191 additions and 1 deletions

View File

@@ -50,6 +50,15 @@ models:
# max_tokens: 8192
# supports_vision: true # Enable vision support for view_image tool
# Example: Google Gemini model
# - name: gemini-2.5-pro
# display_name: Gemini 2.5 Pro
# use: langchain_google_genai:ChatGoogleGenerativeAI
# model: gemini-2.5-pro
# google_api_key: $GOOGLE_API_KEY
# max_tokens: 8192
# supports_vision: true
# Example: DeepSeek model (with thinking support)
# - name: deepseek-v3
# display_name: DeepSeek V3 (Thinking)