mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
add logic for unknown task_type
This commit is contained in:
parent
25c01abaf4
commit
047bb10e72
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ class MLEngineer(Role):
|
|||
# print("*" * 10)
|
||||
# breakpoint()
|
||||
|
||||
if not self.use_tools or self.plan.current_task.task_type == "unknown":
|
||||
if not self.use_tools or self.plan.current_task.task_type == "":
|
||||
# code = "print('abc')"
|
||||
code = await WriteCodeByGenerate().run(
|
||||
context=context, plan=self.plan, task_guide=task_guide
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue