update openai_api.py

main
yangapku 1 year ago
parent daf00604d9
commit 83368388aa

@ -397,7 +397,6 @@ async def create_chat_completion(request: ChatCompletionRequest):
query,
history=history,
stop_words_ids=stop_words_ids,
append_history=False,
**gen_kwargs
)
print(f"<chat>\n{history}\n{query}\n<!-- *** -->\n{response}\n</chat>")

Loading…
Cancel
Save