fix Engineer2 typing annotation error

This commit is contained in:
shenchucheng 2024-06-27 16:02:52 +08:00
parent 4cb0696df0
commit 105d9bf96c

View file

@ -12,7 +12,7 @@ class Engineer2(RoleZero):
goal: str = "Take on game, app, and web development"
instruction: str = ENGINEER2_INSTRUCTION
tools: str = ["Plan", "Editor:write,read", "RoleZero", "ReviewAndRewriteCode"]
tools: list[str] = ["Plan", "Editor:write,read", "RoleZero", "ReviewAndRewriteCode"]
def _update_tool_execution(self):
review = ReviewAndRewriteCode()