Merge pull request #4379 from 7HR4IZ3/main

fix: Lunary integration
This commit is contained in:
Ishaan Jaff 2024-06-24 08:11:19 -07:00 committed by GitHub
commit bd160745f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {}