diff --git a/litellm/integrations/langfuse/langfuse_prompt_management.py b/litellm/integrations/langfuse/langfuse_prompt_management.py index 48ba9d45e36..1cf8bbb6f38 100644 --- a/litellm/integrations/langfuse/langfuse_prompt_management.py +++ b/litellm/integrations/langfuse/langfuse_prompt_management.py @@ -241,11 +241,8 @@ class LangfusePromptManagement(LangFuseLogger, PromptManagementBase, CustomLogge langfuse_host=dynamic_callback_params.get("langfuse_host"), allow_env_credentials=dynamic_callback_params.get("langfuse_host") is None, ) - langfuse_prompt_client: Final = self._get_prompt_from_id( - langfuse_prompt_id=prompt_id, - langfuse_client=langfuse_client, - ) - return langfuse_prompt_client is not None + self._get_prompt_from_id(langfuse_prompt_id=prompt_id, langfuse_client=langfuse_client) + return True def _compile_prompt_helper( self,