Skip to content

Commit

Permalink
fix: example issue (#2114)
Browse files Browse the repository at this point in the history
Co-authored-by: Shubham Naik <shub@memgpt.ai>
  • Loading branch information
4shub and Shubham Naik authored Nov 27, 2024
1 parent f23d436 commit 080d343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion letta/schemas/letta_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _id_regex_pattern(cls, prefix: str):
@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):
Expand Down

0 comments on commit 080d343

Please sign in to comment.