Rebuild agent on original pooled runner

This commit is contained in:
CoolBoy
2026-07-10 02:02:08 +08:00
parent 3a2fa86e1e
commit c06169d906
12 changed files with 459 additions and 535 deletions

View File

@@ -23,13 +23,10 @@ class HFModelSummary:
last_modified: datetime | None
pipeline_tag: str | None
created_at: datetime | None = None
source: str = "huggingface"
@property
def model_address(self) -> str:
if self.source == "modelscope":
return f"https://modelscope.cn/models/{self.repo_id}"
return f"https://huggingface.co/{self.repo_id}"
return f"https://modelscope.cn/models/{self.repo_id}"
@dataclass(frozen=True)