Skip to content

Commit a6fae66

Browse files
committed
Address review feedback
1 parent 71df149 commit a6fae66

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,14 @@ docker-compose up
3131
docker run -p 8000:8000 \
3232
-e REDIS_URL=redis://your-redis:6379 \
3333
-e OPENAI_API_KEY=your-key \
34-
redislabs/agent-memory-server:latest
34+
redislabs/agent-memory-server:latest \
35+
agent-memory api --host 0.0.0.0 --port 8000 --task-backend=asyncio
3536
```
3637

37-
The default image runs in development mode using the **asyncio** task backend (no separate worker required), which is perfect for testing and development.
38+
By default, the image runs the API with the **Docket** task backend, which
39+
expects a separate `agent-memory task-worker` process for non-blocking
40+
background tasks. The example above shows how to override this to use the
41+
asyncio backend for a single-container development setup.
3842

3943
**Production Deployment**:
4044

agent_memory_server/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def api(port: int, host: str, reload: bool, no_worker: bool, task_backend: str):
329329
help=(
330330
"Background task backend (asyncio, docket). "
331331
"Default is 'asyncio' (no separate worker needed). "
332-
"Use 'docket' for production setups with a running task worker."
332+
"Use 'docket' for production setups with a running task worker "
333333
"(see `agent-memory task-worker`)."
334334
),
335335
)

docs/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Start the REST API server:
7878

7979
```bash
8080
# Start the API server in development mode (runs on port 8000, asyncio backend)
81-
uv run agent-memory api
81+
uv run agent-memory api --task-backend=asyncio
8282
```
8383

8484
Your server is now running at `http://localhost:8000`!

0 commit comments

Comments
 (0)