Skip to content

Commit

Permalink
fix: prompt_lineage print name
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu-OD committed Dec 19, 2024
1 parent 95061a7 commit c9f7514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion literalai/api/helpers/prompt_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def process_response(response):

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

Expand Down

0 comments on commit c9f7514

Please sign in to comment.