Remove redundant hash_algo field

This commit is contained in:
Billy
2025-03-11 09:16:59 +11:00
parent 3e9e45b177
commit d86b392bfd
2 changed files with 1 additions and 4 deletions

View File

@@ -255,7 +255,6 @@ class ModelConfigBase(ABC, BaseModel):
source: str = Field(description="The original source of the model (path, URL or repo_id).")
source_type: ModelSourceType = Field(description="The type of source")
hash_algo: Optional[HASHING_ALGORITHMS] = Field(description="The algorithm used to compute the hash.", default=None)
description: Optional[str] = Field(description="Model description", default=None)
source_api_response: Optional[str] = Field(
description="The original API response from the source, as stringified JSON.", default=None