mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
add max_tokens
This commit is contained in:
parent
43a18b9528
commit
71afdbc0e5
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue