Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit c9f7514

Browse files
committed
fix: prompt_lineage print name
1 parent 95061a7 commit c9f7514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

literalai/api/helpers/prompt_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def process_response(response):
6868

6969
if prompt_lineage and prompt_lineage.get("deletedAt"):
7070
logger.warning(
71-
f"Prompt {prompt_lineage.name} was deleted - please update any references to use an active prompt in production"
71+
f"Prompt {prompt_lineage.get('name')} was deleted - please update any references to use an active prompt in production"
7272
)
7373
return Prompt.from_dict(api, prompt) if prompt else None
7474

0 commit comments

Comments
 (0)