Skip to content

Commit

Permalink
docs: removed bad computer use example
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Nov 1, 2024
1 parent 3221145 commit 66898b2
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,30 +64,3 @@ Generate docstrings for all functions in a file:
gptme --non-interactive "Patch these files to include concise docstrings for all functions, skip functions that already have docstrings. Include: brief description, parameters." $@
These examples demonstrate how gptme can be used to create simple yet powerful automation tools. Each script can be easily customized and expanded to fit specific project needs.

.. rubric:: Computer Use Examples

Using the computer tool for GUI automation and desktop interaction (requires running the server with computer use support):

.. code-block:: bash
# Start server with computer use support
docker run -p 5000:5000 -p 8080:8080 -p 6080:6080 ghcr.io/erikbjare/gptme:latest-server
# Then in another terminal:
# Open and interact with an application
gptme 'open firefox and navigate to example.com'
# GUI automation with visual feedback
gptme 'create a simple drawing in xpaint'
# Desktop automation with keyboard/mouse
gptme 'open calculator and compute 15 * 23'
The computer use interface at http://localhost:8080 provides a split view with:
- Chat interface on the left
- Desktop view on the right
- Controls for toggling interaction mode

This enables complex GUI automation tasks with visual feedback and confirmation.

0 comments on commit 66898b2

Please sign in to comment.