feat: 支持跟踪函数调用过程并默认启用

This commit is contained in:
RockChinQ
2023-08-05 21:44:11 +08:00
parent 054d0839ac
commit 3586cd941f
3 changed files with 34 additions and 3 deletions

View File

@@ -98,7 +98,7 @@ class ChatCompletionRequest(RequestBase):
self.append_message(
role="assistant",
content=None,
content=choice0['message']['content'],
function_call=choice0['message']['function_call']
)