feat(agent): similar to the start node of workflow, agent variables also support drag-and-drop (#26899)

This commit is contained in:
yangzheli
2025-10-15 13:07:51 +08:00
committed by GitHub
parent 4d8b8f9210
commit cff5de626b
4 changed files with 69 additions and 43 deletions

View File

@@ -61,7 +61,6 @@ const VarList: FC<Props> = ({
return
}
if (list.some(item => item.variable?.trim() === newKey.trim())) {
console.log('new key', newKey.trim())
setToastHandle(Toast.notify({
type: 'error',
message: t('appDebug.varKeyError.keyAlreadyExists', { key: newKey }),