Vision only mode
I am running vision mode on Android for Signal (recent updates made it impossible to use the UIAutomator XML element data as it is entirely opaque now)
<function_calls>
<invoke name="click_at">
<parameter name="x">900</parameter>
<parameter name="y">1750</parameter>
</invoke>
</function_calls>
Could not get usage: 'NoneType' object has no attribute 'prompt_tokens'
Tool results:
<function_results>
<result>
<name>click_at</name>
<output>Tapped at (1054, 2051)</output>
</result>
</function_results>
Click is slightly off on the X axis, should be near 990 for the center of the Send button
I am running a google Pixel 7 with a gemma4 model, it can see the entire screenshot (was able to click message box), However it keeps missing the Send button by a couple of pixels
1054 is right up on the edge of the screen, whereas the middle of the Send button is more at 990
How does one fix this issue? Is the code where it maps the screenshot object data back to the phone's actual device width and length off?
And how does one debug the screenshots that come out, would like to see what the model sees with the bounding boxes
Source: droidrun/mobilerun