fix(Gemini Vertex Node): Upgrading Langchain/google-vertexai to allow errors to bubble up correctly (#19639)

This commit is contained in:
Michael Drury
2025-09-17 10:53:16 +01:00
committed by GitHub
parent 33a2d5de17
commit 3f1e764c52
4 changed files with 39 additions and 39 deletions

View File

@@ -88,7 +88,7 @@ export class LmChatGoogleVertex implements INodeType {
type: 'string',
description:
'The model which will generate the completion. <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models">Learn more</a>.',
default: 'gemini-1.5-flash',
default: 'gemini-2.5-flash',
},
additionalOptions,
],

View File

@@ -12,7 +12,7 @@ export function makeErrorFromStatus(statusCode: number, context?: ErrorContext):
403: {
message: 'Unauthorized for this project',
description:
'Check your Google Cloud project ID, and that your credential has access to that project',
'Check your Google Cloud project ID, that your credential has access to that project and that billing is enabled',
},
404: {
message: context?.modelName

View File

@@ -178,7 +178,7 @@
"@langchain/community": "catalog:",
"@langchain/core": "catalog:",
"@langchain/google-genai": "0.2.17",
"@langchain/google-vertexai": "0.2.13",
"@langchain/google-vertexai": "0.2.18",
"@langchain/groq": "0.2.3",
"@langchain/mistralai": "0.2.1",
"@langchain/mongodb": "^0.1.0",