Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix: example issue (#2114)

Shubham Naikcdea5a56c3c9
diff --git a/letta/schemas/letta_base.py b/letta/schemas/letta_base.py
index 455234867..67d8237ed 100644
--- a/letta/schemas/letta_base.py
+++ b/letta/schemas/letta_base.py
@@ -63,7 +63,7 @@ class LettaBase(BaseModel):
@classmethod
def _id_example(cls, prefix: str):
"""generates an example id for a given prefix"""
- return [prefix + "-123e4567-e89b-12d3-a456-426614174000"]
+ return f"{prefix}-123e4567-e89b-12d3-a456-426614174000"
@classmethod
def _id_description(cls, prefix: str):