mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
refactor(skill): transition from artifact set to bundle structure
- Replaced SkillArtifactSet with SkillBundle across various components, enhancing the organization of skill dependencies and references. - Updated SkillManager methods to load and save bundles instead of artifacts, improving clarity in asset management. - Refactored SkillCompiler to compile skills into bundles, streamlining the dependency resolution process. - Adjusted DifyCli and SandboxBashSession to utilize ToolDependencies, ensuring consistent handling of tool references. - Introduced AssetReferences for better management of file dependencies within skill bundles.
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
from .constants import SkillAttrs
|
||||
from .entities import ToolArtifact, ToolDependency, ToolReference
|
||||
from .entities import ToolDependencies, ToolDependency, ToolReference
|
||||
from .skill_manager import SkillManager
|
||||
|
||||
__all__ = [
|
||||
"SkillAttrs",
|
||||
"SkillManager",
|
||||
"ToolArtifact",
|
||||
"ToolDependencies",
|
||||
"ToolDependency",
|
||||
"ToolReference",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user