Skip to content

Commit

Permalink
Merge branch 'openai_api_chat_correctness' into openai_api_compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
vmpuri authored Aug 16, 2024
2 parents cab557c + d90e33b commit b1ac2df
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ def chunk_processor(chunked_completion_generator):
next_tok = ""
print(next_tok, end="", flush=True)
yield f"data:{json.dumps(_del_none(asdict(chunk)))}\n\n"
# wasda = json.dumps(asdict(chunk))
# print(wasda)
# yield wasda

resp = Response(
chunk_processor(gen.chunked_completion(req)),
Expand Down

0 comments on commit b1ac2df

Please sign in to comment.