API: Add default for backend in model load request
Should be None so pydantic doesn't complain. Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
parent
b555eeb6e7
commit
8996dc7b02
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ class ModelLoadRequest(BaseModel):
|
|||
# Config arguments
|
||||
backend: Optional[str] = Field(
|
||||
description="Backend to use",
|
||||
default=None,
|
||||
)
|
||||
max_seq_len: Optional[int] = Field(
|
||||
description="Leave this blank to use the model's base sequence length",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue