Skip to content

Commit

Permalink
fix: removed bogus example from README
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Jan 14, 2025
1 parent 7255c53 commit c323525
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ Alternatively a Docker image is available on [Docker Hub](https://hub.docker.com
docker run -it --network=host -v ./examples:/root/.nerve/tasklets evilsocket/nerve -h
```

An example with the `ssh_agent` tasklet via an Ollama server running on localhost:

```sh
docker run -it --network=host \
-v ./examples:/root/.nerve/tasklets \
evilsocket/nerve -G "ollama://llama3@localhost:11434" -T ssh_agent -P'find which process is consuming more ram'
```

## Building from sources

To build from source:
Expand Down
8 changes: 5 additions & 3 deletions examples/shell/task.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
using:
- 'shell'
- 'memory'
- 'planning'
- 'goal'
- 'task'

system_prompt: >
You are an useful assistant that executes any task the user provides.
You are an useful assistant that executes any task the user provides.
guidance:
- Set your task as completed once you executed the command.
7 changes: 1 addition & 6 deletions examples/ssh_agent/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
# standard function namespaces. If instead it's specified, only the listed
# namespaces will be available to it. Use it to limit what the agent can do.
using:
# the agent can save and recall memories
- memory
# the agent can update its own goal
- goal
# the agent can set the task as completed or impossible autonomously
- task
# the agent can create an action plan for the task
- planning
# give the agent a sense of time
- time

Expand All @@ -28,6 +22,7 @@ guidance:
- Prefer using full paths to files and directories.
- Use the /tmp directory for any file write operations.
- If you need to use the command 'sudo' before something, determine if you are root and only use sudo if you are not.
- ONLY set your task as completed once you performed the user request.

# optional global action timeout
timeout: 120s
Expand Down

0 comments on commit c323525

Please sign in to comment.