Skip to content

Commit 14f4bc7

Browse files
authored
fix(Google Gemini Chat Model Node): Add base URL support for Google Gemini Chat API (#12643)
1 parent 58f6532 commit 14f4bc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: packages/@n8n/nodes-langchain/nodes/llms/LmChatGoogleGemini/LmChatGoogleGemini.node.ts

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ export class LmChatGoogleGemini implements INodeType {
140140

141141
const model = new ChatGoogleGenerativeAI({
142142
apiKey: credentials.apiKey as string,
143+
baseUrl: credentials.host as string,
143144
modelName,
144145
topK: options.topK,
145146
topP: options.topP,

0 commit comments

Comments
 (0)