finish_reason
in fastchat/protocol/api_protocol.py
and fastchat/protocol/openai_api_protocol.py
will fix the problem. The modified code looks like:
oai.Completion
(requires openai1)autogen.oai.Completion
and autogen.oai.ChatCompletion
.
model_worker
step above with a multi model variant:
autogen
.