chore: update binary files and refactor LLMNode skill compilation

- Updated binary files for Dify CLI on various platforms (darwin amd64, darwin arm64, linux amd64, linux arm64).
- Refactored skill compilation in LLMNode to improve clarity and maintainability by explicitly naming parameters and incorporating AppAssets for base path management.
- Minor fix in AppAssetFileTree to remove unnecessary leading slash in path construction.
This commit is contained in:
Harry
2026-01-22 18:52:52 +08:00
parent b87e303c00
commit 17404e0956
7 changed files with 15 additions and 8 deletions

View File

@ -107,7 +107,7 @@ class AppAssetFileTree(BaseModel):
while current:
parts.append(current.name)
current = self.get(current.parent_id) if current.parent_id else None
return "/" + "/".join(reversed(parts))
return "/".join(reversed(parts))
def relative_path(self, a: AppAssetNode, b: AppAssetNode) -> str:
"""