feat: 为NormalMessageResponded事件添加finish_reason参数

This commit is contained in:
RockChinQ
2023-08-01 14:31:38 +08:00
parent 7930370aa9
commit 8a67fcf40f
5 changed files with 23 additions and 8 deletions

View File

@@ -88,6 +88,7 @@ NormalMessageResponded = "normal_message_responded"
session: pkg.openai.session.Session 会话对象
prefix: str 回复文字消息的前缀
response_text: str 响应文本
finish_reason: str 响应结束原因
returns (optional):
prefix: str 修改后的回复文字消息的前缀