fix: qwen top_p min/max wrong (#2044)

This commit is contained in:
takatost 2024-01-16 01:12:55 +08:00 • committed by GitHub
commit b582fc13c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 2 deletions

View file

@ -149,8 +149,8 @@ class ParameterRule(BaseModel):
help: Optional[I18nObject] = None
required: bool = False
default: Optional[Any] = None
min: Optional[float | int] = None
max: Optional[float | int] = None
min: Optional[float] = None
max: Optional[float] = None
precision: Optional[int] = None
options: list[str] = []