add max_tokens
This commit is contained in:
parent
43a18b9528
commit
71afdbc0e5
@ -10,7 +10,8 @@ def test_stream_chunk_builder():
|
||||
response = completion(
|
||||
model="gpt-3.5-turbo",
|
||||
messages=messages,
|
||||
stream=True
|
||||
stream=True,
|
||||
max_tokens=10,
|
||||
)
|
||||
|
||||
for chunk in response:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user