mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-15 00:07:28 +00:00
Model: Remove extra unwraps
The base sampler request already specifies the defaults, so don't unwrap in this way. Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
@@ -42,7 +42,7 @@ class BaseSamplerRequest(BaseModel):
|
||||
)
|
||||
|
||||
generate_window: Optional[int] = Field(
|
||||
default_factory=lambda: get_default_sampler_value("generate_window"),
|
||||
default_factory=lambda: get_default_sampler_value("generate_window", 512),
|
||||
examples=[512],
|
||||
ge=0,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user