1
0
Fork 0
mirror of https://github.com/n8n-io/n8n.git synced 2025-02-21 02:56:40 -08:00

fix(Google Gemini Chat Model Node): Add base URL support for Google Gemini Chat API ()

This commit is contained in:
jeanpaul 2025-01-16 17:05:06 +01:00 committed by GitHub
parent 58f6532630
commit 14f4bc7690
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -140,6 +140,7 @@ export class LmChatGoogleGemini implements INodeType {
const model = new ChatGoogleGenerativeAI({
apiKey: credentials.apiKey as string,
baseUrl: credentials.host as string,
modelName,
topK: options.topK,
topP: options.topP,