mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-27 17:51:36 +00:00
OAI: Fix typical alias
AliasChoices takes strings, not an array. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
@@ -78,7 +78,7 @@ class CommonCompletionRequest(BaseModel):
|
||||
|
||||
# Aliased variables
|
||||
typical: Optional[float] = Field(
|
||||
default=1.0, validation_alias=AliasChoices(["typical", "typical_p"])
|
||||
default=1.0, validation_alias=AliasChoices("typical", "typical_p")
|
||||
)
|
||||
|
||||
penalty_range: Optional[int] = Field(
|
||||
|
||||
Reference in New Issue
Block a user