Skip to content

feat: give a position in the prompt only for a point or an area drawn - #17

Open
victorbahl wants to merge 1 commit into
roaldnefs:mainfrom
victorbahl:feat/prompt-position
Open

victorbahl wants to merge 1 commit into
roaldnefs:mainfrom
victorbahl:feat/prompt-position

Conversation

@victorbahl

Copy link
Copy Markdown
Contributor

Hey Roald, a very small one, about the prompt Suggest copies.

A suggestion on an element that was clicked gives its selector, its text and its box in pixels. The selector and the text are enough for an agent to find it, and the box only adds noise. With this the prompt gives a position only for a point or an area drawn, which have no element of their own.

npm test: 13 node tests and 106 browser tests pass; two of them now check this.

A suggestion on an element clicked is found by its selector and its text;
its box in pixels only added noise for the agent. A point or an area drawn
on the slide keeps its position, as it has no element of its own.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant