refactor: 重构项目架构,移除YAML编排与旧注册系统
1. 将所有YAML配置的工具迁移到`@px.tool`装饰器实现 2. 拆分`llm`模块为`msdownload`和`sglang`子模块 3. 移除废弃的`registry.py`、`yaml_loader.py`和`yamlrun.py`模块 4. 清理项目依赖,移除PyYAML相关包 5. 更新文档与测试用例适配新架构
This commit is contained in:
@@ -56,6 +56,5 @@ class TestRegisteredFunctions:
|
||||
"""Test that folderzip functions are registered."""
|
||||
|
||||
def test_folderzip_default_spec(self) -> None:
|
||||
"""folderzip_default should be a registered callable."""
|
||||
# folderzip_default 现在是通过 @px.register_fn 注册的普通函数, 不是 TaskSpec
|
||||
"""folderzip_default should be a callable function."""
|
||||
assert callable(files.folderzip_default)
|
||||
|
||||
Reference in New Issue
Block a user