Skip to content

Commit

Permalink
[bugfix] make args.stream work
Browse files Browse the repository at this point in the history
simple bugfix.
  • Loading branch information
WrRan authored Jul 26, 2024
1 parent 85ad7e2 commit a4ca61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def post_http_request(prompt: str,
"max_tokens": 16,
"stream": stream,
}
response = requests.post(api_url, headers=headers, json=pload, stream=True)
response = requests.post(api_url, headers=headers, json=pload, stream=stream)
return response


Expand Down

0 comments on commit a4ca61f

Please sign in to comment.