mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
update andriod_assistant
This commit is contained in:
parent
0343db3350
commit
73381f0ab3
2 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue