mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Google Gemini Chat Model Node): Add base URL support for Google Gemini Chat API (#12643)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user