feat(core): Allow community nodes to be used as tools (#14042)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-03-19 12:26:05 +01:00
committed by GitHub
parent 91b27964d8
commit 9d698edceb
4 changed files with 3 additions and 28 deletions

View File

@@ -33,10 +33,6 @@ class CommunityPackagesConfig {
/** Whether to reinstall any missing community packages */
@Env('N8N_REINSTALL_MISSING_PACKAGES')
reinstallMissing: boolean = false;
/** Whether to allow community packages as tools for AI agents */
@Env('N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE')
allowToolUsage: boolean = false;
}
@Config

View File

@@ -118,7 +118,6 @@ describe('GlobalConfig', () => {
enabled: true,
registry: 'https://registry.npmjs.org',
reinstallMissing: false,
allowToolUsage: false,
},
errorTriggerType: 'n8n-nodes-base.errorTrigger',
include: [],