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 (#12643)
This commit is contained in:
parent
58f6532630
commit
14f4bc7690
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue