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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,6 @@ import type {
INodeTypeDescription,
INodeProperties,
} from 'n8n-workflow';
import { getTemplateNoticeField } from '../../../utils/sharedFields';
import { promptTypeOptions, textInput } from '../../../utils/descriptions';
import { conversationalAgentProperties } from './agents/ConversationalAgent/description';
import { conversationalAgentExecute } from './agents/ConversationalAgent/execute';
@ -305,10 +304,14 @@ export class Agent implements INodeType {
],
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: {
show: {
agent: ['conversationalAgent'],
agent: ['conversationalAgent', 'toolsAgent'],
},
},
},