mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +00:00
Config: Enable safe sampler overrides by default
* Provides safe fallback samplers, intended for better out-of-the-box support for clients that do not pass sampler params
This commit is contained in:
@@ -406,10 +406,13 @@ class SamplingConfig(BaseConfigModel):
|
||||
override_preset: Optional[str] = Field(
|
||||
None,
|
||||
description=(
|
||||
"Select a sampler override preset (default: None).\n"
|
||||
"Select a sampler override preset (default: safe_defaults).\n"
|
||||
"Find this in the sampler-overrides folder.\n"
|
||||
"This overrides default fallbacks for sampler values "
|
||||
"that are passed to the API."
|
||||
"that are passed to the API.\n"
|
||||
"NOTE: safe_defaults preset provides a fallback for frontends "
|
||||
"that do not pass sampling params.\n"
|
||||
"Remove it if not necessary."
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user