mirror of
https://github.com/langgenius/dify.git
synced 2026-03-21 02:20:08 +08:00
- Implemented activation conditions for agent tools, allowing tools to be enabled based on specified conditions. - Introduced new components for managing conditions, including ConditionAdd, ConditionList, ConditionItem, and ConditionOperator. - Enhanced the AgentNode to process activation conditions when filtering tools. - Updated the ToolSelector to include activation condition management. - Added translations for new UI elements related to activation conditions. - Refactored utility functions to support condition operators and default values based on variable types. |
||
|---|---|---|
| .. | ||
| components | ||
| default.ts | ||
| node.tsx | ||
| panel.tsx | ||
| types.ts | ||
| use-config.ts | ||
| use-single-run-form-params.ts | ||
| utils.ts | ||