Harrison Chase 1 year ago committed by GitHub
parent 08f23c95d9
commit b1b4a4065a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -128,7 +128,7 @@ class ChatOpenAI(BaseChatModel, BaseModel):
"""Whether to stream the results or not."""
n: int = 1
"""Number of chat completions to generate for each prompt."""
max_tokens: int = 256
max_tokens: Optional[int] = None
"""Maximum number of tokens to generate."""
class Config:

Loading…
Cancel
Save