fix the error of no model_type param in TestErrorSummay.execute.chatting

This commit is contained in:
moonlander 2024-08-10 16:23:39 +08:00
parent 9edeec2cb0
commit 000ed49826

View File

@ -586,7 +586,8 @@ class TestErrorSummary(Phase):
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