Skip to content

Commit

Permalink
Use dataclass
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Oct 28, 2024
1 parent 8d62c79 commit b0325a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/memory_agent/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def call_model(state: State, config: RunnableConfig, *, store: BaseStore)

# Retrieve the most recent memories for context
memories = await store.asearch(
("memories", config["configurable"]["user_id"]), limit=10
("memories", configurable.user_id), limit=10
)

# Format memories for inclusion in the prompt
Expand Down

0 comments on commit b0325a0

Please sign in to comment.