Skip to content

Commit 109c8ca

Browse files
authored
fix(docs): fix wrong var name for memory_service (#497)
Use the correct `memory_service` variable instead of the erroneous `session_service`
1 parent 4eb10f9 commit 109c8ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sessions/express-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ instead initialize the memory object without any project or location.
9292
APP_ID = "your-reasoning-engine-id"
9393

9494
# Project and location are not required when initializing with Vertex Express Mode
95-
session_service = VertexAiMemoryBankService(agent_engine_id=APP_ID)
95+
memory_service = VertexAiMemoryBankService(agent_engine_id=APP_ID)
9696
# Generate a memory from that session so the Agent can remember relevant details about the user
9797
# memory = await memory_service.add_session_to_memory(session)
9898
```

0 commit comments

Comments
 (0)