Skip to content

Commit f1944d2

Browse files
authored
Update configuration.md
1 parent fc4914d commit f1944d2

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

docs/configuration.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,18 @@ environment variable.
99

1010
## Running the Background Task Worker
1111

12-
The Redis Memory Server uses Docket for background task management. There are two ways to run the worker:
13-
14-
### 1. Using the Docket CLI
15-
16-
After installing the package, you can run the worker using the Docket CLI command:
12+
The Redis Memory Server uses Docket for background task management. You can run a worker instance like this:
1713

1814
```bash
19-
docket worker --tasks agent_memory_server.docket_tasks:task_collection --docket memory-server
15+
uv run agent-memory task-worker
2016
```
2117

2218
You can customize the concurrency and redelivery timeout:
2319

2420
```bash
25-
docket worker --tasks agent_memory_server.docket_tasks:task_collection --concurrency 5 --redelivery-timeout 60 --docket memory-server
21+
uv run agent-memory task-worker --concurrency 5 --redelivery-timeout 60
2622
```
2723

28-
**NOTE:** The name passed with `--docket` is effectively the name of a task queue where
29-
the worker will look for work. This name should match the docket name your API server
30-
is using, configured with the `docket_name` setting via environment variable
31-
or directly in `agent_memory_server.config.Settings`.
32-
3324
## Memory Compaction
3425

3526
The memory compaction functionality optimizes storage by merging duplicate and semantically similar memories. This improves retrieval quality and reduces storage costs.
@@ -40,7 +31,7 @@ Memory compaction is available as a task function in `agent_memory_server.long_t
4031
by running the `agent-memory schedule-task` command:
4132

4233
```bash
43-
agent-memory schedule-task "agent_memory_server.long_term_memory.compact_long_term_memories"
34+
uv run agent-memory schedule-task "agent_memory_server.long_term_memory.compact_long_term_memories"
4435
```
4536

4637
### Key Features

0 commit comments

Comments
 (0)