diff --git a/extensions/openai/typing.py b/extensions/openai/typing.py index d41fc8c1..c9a3b30a 100644 --- a/extensions/openai/typing.py +++ b/extensions/openai/typing.py @@ -6,7 +6,7 @@ from pydantic import BaseModel, Field class GenerationOptions(BaseModel): - preset: str | None = None + preset: str | None = Field(default=None, description="The name of a file under text-generation-webui/presets (without the .yaml extension). The sampling parameters that get overwritten by this option are the keys in the default_preset() function in modules/presets.py.") min_p: float = 0 top_k: int = 0 repetition_penalty: float = 1