Skip to content

Some usage issues and optimization suggestions #190

Description

@k-w840

Hello, now mobilecli can take screenshots, obtain the view hierarchy, and then provide these to the LLM. The LLM can use this data to operate the simulator through the web driver agent for automated testing. During the use of this, some issues were found. For apps with complex pages, it consumes a lot of context because, although the view hierarchy data is filtered, the filtered content is still substantial, resulting in high context usage. Can this be optimized? I have thought of a possible solution:

  1. Obtain specific view information based on name or other details (for this step, should only the basic information be returned, filtering out extra fields like position to reduce context usage?)
  2. If there are duplicates, the LLM can determine which one it is based on position or other information.
    Can this issue be optimized? Looking forward to your reply, thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions