feat(AI Agent Node): Add tutorial link to agent node (#10493)

This commit is contained in:
oleg
2024-08-22 10:49:01 +02:00
committed by GitHub
parent ea6ca04a7f
commit 5c7cc36c23

View File

@@ -9,7 +9,6 @@ import type {
INodeTypeDescription, INodeTypeDescription,
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
import { getTemplateNoticeField } from '../../../utils/sharedFields';
import { promptTypeOptions, textInput } from '../../../utils/descriptions'; import { promptTypeOptions, textInput } from '../../../utils/descriptions';
import { conversationalAgentProperties } from './agents/ConversationalAgent/description'; import { conversationalAgentProperties } from './agents/ConversationalAgent/description';
import { conversationalAgentExecute } from './agents/ConversationalAgent/execute'; import { conversationalAgentExecute } from './agents/ConversationalAgent/execute';
@@ -305,10 +304,14 @@ export class Agent implements INodeType {
], ],
properties: [ properties: [
{ {
...getTemplateNoticeField(1954), displayName:
'Tip: Get a feel for agents with our quick <a href="https://docs.n8n.io/advanced-ai/intro-tutorial/" target="_blank">tutorial</a> or see an <a href="/templates/1954" target="_blank">example</a> of how this node works',
name: 'notice_tip',
type: 'notice',
default: '',
displayOptions: { displayOptions: {
show: { show: {
agent: ['conversationalAgent'], agent: ['conversationalAgent', 'toolsAgent'],
}, },
}, },
}, },