mirror of
https://github.com/QwenLM/Qwen.git
synced 2026-05-20 16:35:47 +08:00
update openai_api.py
This commit is contained in:
@@ -397,7 +397,6 @@ async def create_chat_completion(request: ChatCompletionRequest):
|
|||||||
query,
|
query,
|
||||||
history=history,
|
history=history,
|
||||||
stop_words_ids=stop_words_ids,
|
stop_words_ids=stop_words_ids,
|
||||||
append_history=False,
|
|
||||||
**gen_kwargs
|
**gen_kwargs
|
||||||
)
|
)
|
||||||
print(f"<chat>\n{history}\n{query}\n<!-- *** -->\n{response}\n</chat>")
|
print(f"<chat>\n{history}\n{query}\n<!-- *** -->\n{response}\n</chat>")
|
||||||
|
|||||||
Reference in New Issue
Block a user