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:
oleg 2024-02-23 09:08:51 +01:00 committed by GitHub
parent 8c14ca7ad1
commit d03d9276f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -28,7 +28,7 @@ export class AzureOpenAiApi implements ICredentialType {
name: 'apiVersion',
type: 'string',
required: true,
default: '2023-05-15',
default: '2023-07-01-preview',
},
];

View file

@ -94,7 +94,10 @@ function getInputs(
{
type: NodeConnectionType.AiLanguageModel,
filter: {
nodes: ['@n8n/n8n-nodes-langchain.lmChatOpenAi'],
nodes: [
'@n8n/n8n-nodes-langchain.lmChatOpenAi',
'@n8n/n8n-nodes-langchain.lmChatAzureOpenAi',
],
},
},
{