Skip to content

Commit 4f5a40a

Browse files
Docs fixes (mem0ai#1730)
1 parent ea86dc1 commit 4f5a40a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/features/selective-memory.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ messages = [
4848

4949
<CodeGroup>
5050
```python Code
51-
client.add("I love music festivals", user_id="alice", includes=includes)
51+
client.add(messages, user_id="alice", includes=includes)
5252
```
5353

5454
```json Stored Memories

mem0/graphs/configs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def check_host_port_or_path(cls, values):
1414
values.get("username"),
1515
values.get("password"),
1616
)
17-
if not url and not username and not password:
17+
if not url or not username or not password:
1818
raise ValueError(
1919
"Please provide 'url', 'username' and 'password'."
2020
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mem0ai"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
description = "Long-term memory for AI Agents"
55
authors = ["Mem0 <founders@mem0.ai>"]
66
exclude = [

0 commit comments

Comments
 (0)