mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
feat(AI Agent Node): Allow use of Azure Chat model for OpenAI Functions agent (#8725)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
@@ -28,7 +28,7 @@ export class AzureOpenAiApi implements ICredentialType {
|
|||||||
name: 'apiVersion',
|
name: 'apiVersion',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
default: '2023-05-15',
|
default: '2023-07-01-preview',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,10 @@ function getInputs(
|
|||||||
{
|
{
|
||||||
type: NodeConnectionType.AiLanguageModel,
|
type: NodeConnectionType.AiLanguageModel,
|
||||||
filter: {
|
filter: {
|
||||||
nodes: ['@n8n/n8n-nodes-langchain.lmChatOpenAi'],
|
nodes: [
|
||||||
|
'@n8n/n8n-nodes-langchain.lmChatOpenAi',
|
||||||
|
'@n8n/n8n-nodes-langchain.lmChatAzureOpenAi',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user