dify/api/core/skill/entities
Harry 0495dc5085 feat(skill): tool switcher for llm node
- Added an `enabled` field to `DifyCliToolConfig` and `ToolDependency` to manage tool activation status.
- Updated `DifyCliConfig` to handle tool dependencies more effectively, ensuring only enabled tools are processed.
- Refactored `SkillCompiler` to utilize `tool_id` for better identification of tools and improved handling of disabled tools.
- Introduced a new method `_extract_disabled_tools` in `LLMNode` to streamline the extraction of disabled tools from node data.
- Enhanced metadata parsing to account for tool enablement, improving overall tool management.
2026-01-29 01:21:18 +08:00
..
__init__.py refactor(tool-access): rename ToolKey to ToolDescription and update ToolAccessPolicy to use mappings for allowed tools and credentials 2026-01-27 15:14:12 +08:00
api_entities.py feat(skills): implement API endpoints for retrieving skill references in workflows and add related data models 2026-01-27 19:11:52 +08:00
asset_references.py refactor(skill): transition from artifact set to bundle structure 2026-01-22 22:46:57 +08:00
skill_bundle_entry.py refactor(skill): transition from artifact set to bundle structure 2026-01-22 22:46:57 +08:00
skill_bundle.py refactor(skill): transition from artifact set to bundle structure 2026-01-22 22:46:57 +08:00
skill_document.py feat(skill-compiler): skill compiler 2026-01-22 13:41:21 +08:00
skill_metadata.py feat(skill): tool switcher for llm node 2026-01-29 01:21:18 +08:00
tool_access_policy.py refactor(tool-access): rename ToolKey to ToolDescription and update ToolAccessPolicy to use mappings for allowed tools and credentials 2026-01-27 15:14:12 +08:00
tool_dependencies.py feat(skill): tool switcher for llm node 2026-01-29 01:21:18 +08:00