mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix: Lunary integration
Fixes the bug of litellm not logging system messages to lunary
This commit is contained in:
parent
cf52d3fa00
commit
15fc99a3ff
1 changed files with 1 additions and 0 deletions
|
@ -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 {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue