fix issue with tokenizer

This commit is contained in:
Cyberes 2023-08-24 23:13:07 -06:00
parent 77fe1e237e
commit 25e3255c9b
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ def generate():
else:
raise Exception
log_prompt(client_ip, token, request_json_body['prompt'], backend_response if not backend_err else None, elapsed_time, parameters, dict(request.headers), response.status_code)
log_prompt(client_ip, token, request_json_body['prompt'], backend_response if not backend_err else '', elapsed_time, parameters, dict(request.headers), response.status_code)
return jsonify({
**response_json_body
}), 200