add message_logging on Custom Logger
This commit is contained in:
parent
15c761a56b
commit
715387c3c0
@ -15,7 +15,8 @@ from litellm.types.utils import AdapterCompletionStreamWrapper, ModelResponse
|
||||
|
||||
class CustomLogger: # https://docs.litellm.ai/docs/observability/custom_callback#callback-class
|
||||
# Class variables or attributes
|
||||
def __init__(self) -> None:
|
||||
def __init__(self, message_logging: bool = True) -> None:
|
||||
self.message_logging = message_logging
|
||||
pass
|
||||
|
||||
def log_pre_api_call(self, model, messages, kwargs):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user