From 000ed498262fa41fa2ae0ef5dee869ad61a80fc7 Mon Sep 17 00:00:00 2001 From: moonlander <20373457@buaa.edu.cn> Date: Sat, 10 Aug 2024 16:23:39 +0800 Subject: [PATCH] fix the error of no model_type param in TestErrorSummay.execute.chatting --- chatdev/phase.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chatdev/phase.py b/chatdev/phase.py index dc99faebd..d4ffde61d 100644 --- a/chatdev/phase.py +++ b/chatdev/phase.py @@ -586,7 +586,8 @@ def execute(self, chat_env, chat_turn_limit, need_reflect) -> ChatEnv: user_role_prompt=self.user_role_prompt, memory=chat_env.memory, chat_turn_limit=chat_turn_limit, - placeholders=self.phase_env) + placeholders=self.phase_env, + model_type=self.model_type) chat_env = self.update_chat_env(chat_env) return chat_env