-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
The async_log_pre_api_call does not seem to get activated on a custom logger
from litellm.integrations.custom_logger import CustomLogger
import litellm
from fastapi import HTTPException
# This file includes the custom callbacks for LiteLLM Proxy
# Once defined, these can be passed in proxy_config.yaml
class MyCustomHandler(CustomLogger): # https://docs.litellm.ai/docs/observability/custom_callback#callback-class
# Class variables or attributes
def __init__(self):
pass
#### ASYNC ####
async def async_log_pre_api_call(self, model, messages, kwargs):
pass
Relevant log output
Are you a ML Ops Team?
No
What LiteLLM version are you on ?
1.80.5
Twitter / LinkedIn details
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working