mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
Fix: Construct LmChatGoogleGemini to use the host from googlePalmApi credentials
This commit is contained in:
parent
46beda05f6
commit
3d448e8448
|
@ -136,6 +136,7 @@ export class LmChatGoogleGemini implements INodeType {
|
|||
) as SafetySetting[];
|
||||
|
||||
const model = new ChatGoogleGenerativeAI({
|
||||
baseUrl: credentials.host as string,
|
||||
apiKey: credentials.apiKey as string,
|
||||
modelName,
|
||||
topK: options.topK,
|
||||
|
|
Loading…
Reference in a new issue