修复错误代码

This commit is contained in:
taylorxie
2026-03-09 17:12:27 +08:00
parent 17c18b48dc
commit 66881b0d91
3 changed files with 31 additions and 9 deletions

View File

@@ -15,7 +15,8 @@ from maubot_llmplus.plugin import AbsExtraConfigPlugin, Config
class ChatCompletion:
def __init__(self, message: dict, finish_reason: str, model: Optional[str]) -> None:
def __init__(self, result: bool, message: dict, finish_reason: str, model: Optional[str]) -> None:
self.result = result
self.message = message
self.finish_reason = finish_reason
self.model = model