Skip to content

@langchain/google@0.2.3

Choose a tag to compare

@github-actions github-actions released this 20 Aug 01:17
e493ed6

Patch Changes

  • #11405 8cfff4d Thanks @hntrl! - Add LangSmith gateway support for Google Gemini (Developer API) models. When LANGSMITH_GATEWAY is set, ChatGoogleGenerativeAI and ChatGoogle (and initChatModel("google-genai:...")) route requests through the gateway's Gemini path, using the gateway key (falling back to LANGSMITH_API_KEY). An explicit baseUrl/endpoint, an explicit apiKey, or a Vertex AI configuration suppress gateway routing. Also adds GEMINI_API_KEY as a fallback env var for ChatGoogleGenerativeAI.