Merge pull request #1530 from TanaroSch/main

change max_tokens type to int
This commit is contained in:
Ishaan Jaff 2024-05-04 12:47:15 -07:00 committed by GitHub
commit d968dedd77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -2294,7 +2294,7 @@ def batch_completion(
n: Optional[int] = None,
stream: Optional[bool] = None,
stop=None,
max_tokens: Optional[float] = None,
max_tokens: Optional[int] = None,
presence_penalty: Optional[float] = None,
frequency_penalty: Optional[float] = None,
logit_bias: Optional[dict] = None,