openai extension: wrong frequency_penalty type (#4512)
This commit is contained in:
parent
881e8a6e70
commit
6c7aad11f3
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ class CompletionRequestParams(BaseModel):
|
|||
logprobs: int | None = None
|
||||
max_tokens: int | None = 16
|
||||
n: int | None = Field(default=1, description="Unused parameter.")
|
||||
presence_penalty: int | None = 0
|
||||
presence_penalty: float | None = 0
|
||||
stop: str | List[str] | None = None
|
||||
stream: bool | None = False
|
||||
suffix: str | None = None
|
||||
|
@ -82,7 +82,7 @@ class ChatCompletionRequestParams(BaseModel):
|
|||
logit_bias: dict | None = None
|
||||
max_tokens: int | None = None
|
||||
n: int | None = Field(default=1, description="Unused parameter.")
|
||||
presence_penalty: int | None = 0
|
||||
presence_penalty: float | None = 0
|
||||
stop: str | List[str] | None = None
|
||||
stream: bool | None = False
|
||||
temperature: float | None = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue