diff --git a/examples/andriod_assistant/actions/screenshot_parse.py b/examples/andriod_assistant/actions/screenshot_parse.py index 800cc74b9..d9096e271 100644 --- a/examples/andriod_assistant/actions/screenshot_parse.py +++ b/examples/andriod_assistant/actions/screenshot_parse.py @@ -11,7 +11,8 @@ from examples.andriod_assistant.prompts.assistant_prompt import ( from examples.andriod_assistant.utils.schema import OpLogItem, ParamExtState, GridOp, TapOp, TapGridOp, \ LongPressOp, LongPressGridOp, SwipeOp, SwipeGridOp, TextOp, AndroidElement from examples.andriod_assistant.actions.screenshot_parse_an import SCREENSHOT_PARSE_NODE -from examples.andriod_assistant.utils.utils import draw_bbox_multi, traverse_xml_tree, area_to_xy, screenshot_parse_extract, elem_bbox_to_xy +from examples.andriod_assistant.utils.utils import draw_bbox_multi, traverse_xml_tree, area_to_xy, \ + screenshot_parse_extract, elem_bbox_to_xy from metagpt.actions.action import Action from metagpt.config2 import config from metagpt.environment.android_env.android_env import AndroidEnv diff --git a/examples/andriod_assistant/actions/self_learn_and_reflect.py b/examples/andriod_assistant/actions/self_learn_and_reflect.py index ef9fcf067..77ab4e1da 100644 --- a/examples/andriod_assistant/actions/self_learn_and_reflect.py +++ b/examples/andriod_assistant/actions/self_learn_and_reflect.py @@ -10,8 +10,10 @@ from examples.andriod_assistant.actions.self_learn_reflect_an import SELF_LEARN_ from examples.andriod_assistant.prompts.assistant_prompt import ( screenshot_parse_self_explore_template, screenshot_parse_self_explore_reflect_template as reflect_template ) -from examples.andriod_assistant.utils.schema import AndroidElement, OpLogItem, ReflectLogItem, ParamExtState, TapOp, TextOp, SwipeOp, LongPressOp, ActionOp, Decision, DocContent -from examples.andriod_assistant.utils.utils import draw_bbox_multi, traverse_xml_tree, screenshot_parse_extract, elem_bbox_to_xy, reflect_parse_extarct +from examples.andriod_assistant.utils.schema import AndroidElement, OpLogItem, ReflectLogItem, ParamExtState, TapOp, \ + TextOp, SwipeOp, LongPressOp, ActionOp, Decision, DocContent +from examples.andriod_assistant.utils.utils import draw_bbox_multi, traverse_xml_tree, screenshot_parse_extract, \ + elem_bbox_to_xy, reflect_parse_extarct from metagpt.actions.action import Action from metagpt.config2 import config from metagpt.environment.android_env.android_env import AndroidEnv