From 515dc9acc7f8bc133952585ab4bccd912bb0bd1a Mon Sep 17 00:00:00 2001 From: 7HR4IZ3 <90985774+7HR4IZ3@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:09:40 +0100 Subject: [PATCH] fix: Lunary integration Fixes the bug of litellm not logging system messages to lunary --- litellm/integrations/lunary.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/integrations/lunary.py b/litellm/integrations/lunary.py index f9b2f25e704..b0cc069c40f 100644 --- a/litellm/integrations/lunary.py +++ b/litellm/integrations/lunary.py @@ -108,6 +108,7 @@ class LunaryLogger: try: print_verbose(f"Lunary Logging - Logging request for model {model}") + template_id = None litellm_params = kwargs.get("litellm_params", {}) optional_params = kwargs.get("optional_params", {}) metadata = litellm_params.get("metadata", {}) or {}