diff --git a/GramAddict/core/perception/intent_resolver.py b/GramAddict/core/perception/intent_resolver.py index 74eab1f..7fd07d7 100644 --- a/GramAddict/core/perception/intent_resolver.py +++ b/GramAddict/core/perception/intent_resolver.py @@ -346,7 +346,8 @@ class IntentResolver: f"3. Do NOT select text, captions, or view counts if looking for an icon.\n" f"4. Ignore numbers inside the text itself. Do not confuse the text '19' with Box [19].\n" f"5. If the intent contains 'following', you MUST pick the box containing 'following'. Do NOT pick 'followers' or 'Follow'.\n" - f"6. If the exact control is NOT visible, return null. Do NOT guess.\n\n" + f"6. If the intent is to tap a 'post' or 'grid item', look for boxes with descriptions containing 'photos by', 'Reel by', or 'row 1, column 1' and pick the first matching one. Do NOT pick navigation buttons like 'Search'.\n" + f"7. If the exact control is NOT visible, return null. Do NOT guess.\n\n" f'Reply ONLY with a valid JSON object: {{"box": }} or {{"box": null}}' ) diff --git a/GramAddict/core/perception/screen_identity.py b/GramAddict/core/perception/screen_identity.py index 832acdc..ff9ba1f 100644 --- a/GramAddict/core/perception/screen_identity.py +++ b/GramAddict/core/perception/screen_identity.py @@ -317,7 +317,7 @@ class ScreenIdentity: # Grid items if screen_type == ScreenType.EXPLORE_GRID: - actions.append("tap first grid item") + actions.append("tap first post") # Scroll actions.append("scroll down")