feat(editor): Improve manual description in nodes as tools (#15373)

This commit is contained in:
Ricardo Espinoza
2025-05-15 10:45:16 -04:00
committed by GitHub
parent fea5b1633a
commit 726438d95e
7 changed files with 584 additions and 33 deletions

View File

@@ -325,7 +325,6 @@ describe('LoadNodesAndCredentials', () => {
'Explain to the LLM what this tool does, a good, specific description would allow LLMs to produce expected results much more often',
displayName: 'Description',
name: 'toolDescription',
placeholder: 'e.g. A test node',
required: true,
type: 'string',
typeOptions: {
@@ -380,7 +379,6 @@ describe('LoadNodesAndCredentials', () => {
typeOptions: { rows: 2 },
description:
'Explain to the LLM what this tool does, a good, specific description would allow LLMs to produce expected results much more often',
placeholder: 'e.g. A test node',
},
],
codex: {

View File

@@ -484,7 +484,6 @@ export class LoadNodesAndCredentials {
typeOptions: { rows: 2 },
description:
'Explain to the LLM what this tool does, a good, specific description would allow LLMs to produce expected results much more often',
placeholder: `e.g. ${item.description.description}`,
};
item.description.properties.unshift(descProp);