Skip to content

Commit

Permalink
fix the error of no model_type param in TestErrorSummay.execute.chatting
Browse files Browse the repository at this point in the history
  • Loading branch information
moonlander committed Aug 10, 2024
1 parent 9edeec2 commit 000ed49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chatdev/phase.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 000ed49

Please sign in to comment.