Skip to content

Commit fede832

Browse files
authored
fix: voice endpoint null check (#3690)
1 parent 75c1633 commit fede832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

letta/services/helpers/agent_manager_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def compile_memory_metadata_block(
217217
]
218218

219219
# Only include archival memory line if there are archival memories
220-
if archival_memory_size > 0:
220+
if archival_memory_size is not None and archival_memory_size > 0:
221221
metadata_lines.append(
222222
f"- {archival_memory_size} total memories you created are stored in archival memory (use tools to access them)"
223223
)

0 commit comments

Comments
 (0)