mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 15:44:06 -08: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:
parent
8c14ca7ad1
commit
d03d9276f9
|
@ -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',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue