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

This commit is contained in:
jeanpaul
2025-01-16 17:05:06 +01:00
committed by GitHub
parent 58f6532630
commit 14f4bc7690

View File

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