diff --git a/examples/server/api_like_OAI.py b/examples/server/api_like_OAI.py index 6eee550c6..453e1ec04 100755 --- a/examples/server/api_like_OAI.py +++ b/examples/server/api_like_OAI.py @@ -71,7 +71,7 @@ def make_postData(body, chat=False, stream=False): if(is_present(body, "logit_bias")): postData["logit_bias"] = [[int(token), body["logit_bias"][token]] for token in body["logit_bias"].keys()] postData["stop"] = [args.stop] if(is_present(body, "stop")): postData["stop"] += body["stop"] - + postData["n_keep"] = -1 postData["stream"] = stream return postData