mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
fix(Gemini Vertex Node): Upgrading Langchain/google-vertexai to allow errors to bubble up correctly (#19639)
This commit is contained in:
@@ -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,
|
||||
],
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user