Skip to content

Commit a9b8a7a

Browse files
committed
Reorganize notebook setup and update agent-memory-server to 0.12.3
- Collect all environment setup under 'Environment Setup' header in 01_what_is_context_engineering.ipynb - Convert memory example from markdown to executable Python cell - Fix MemoryManager references to use correct MemoryClient API - Update docker-compose to use agent-memory-server:0.12.3 instead of :latest - Tested locally: services start successfully and health check passes
1 parent 07c1e91 commit a9b8a7a

File tree

7 files changed

+1402
-1461
lines changed

7 files changed

+1402
-1461
lines changed

.github/workflows/nightly-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282

8383
services:
8484
redis:
85-
image: redis:8.2
85+
image: redis:8
8686
ports:
8787
- 6379:6379
8888

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,2 @@
1-
# OpenAI API Key (required for LLM operations)
1+
# OpenAI API Key (required to pass to the API container)
22
OPENAI_API_KEY=your-openai-api-key-here
3-
4-
# Redis Configuration
5-
REDIS_URL=redis://localhost:6379
6-
7-
# Agent Memory Server Configuration
8-
AGENT_MEMORY_URL=http://localhost:8000
9-
10-
# Optional: Redis Cloud Configuration
11-
# REDIS_URL=redis://default:password@your-redis-cloud-url:port
12-

python-recipes/context-engineering/docker-compose.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.8'
2-
31
services:
42
redis:
53
image: redis/redis-stack:latest
@@ -18,8 +16,9 @@ services:
1816
retries: 5
1917

2018
agent-memory-server:
21-
image: ghcr.io/redis/agent-memory-server:latest
19+
image: ghcr.io/redis/agent-memory-server:0.12.3
2220
container_name: agent-memory-server
21+
command: ["agent-memory", "api", "--host", "0.0.0.0", "--port", "8000", "--no-worker"]
2322
ports:
2423
- "8000:8000"
2524
environment:
@@ -30,7 +29,7 @@ services:
3029
redis:
3130
condition: service_healthy
3231
healthcheck:
33-
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
32+
test: ["CMD", "curl", "-f", "http://localhost:8000/v1/health"]
3433
interval: 10s
3534
timeout: 5s
3635
retries: 5

0 commit comments

Comments
 (0)