mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-10 13:15:18 +02:00
Add litellm.set_verbose support
This commit is contained in:
@@ -42,6 +42,8 @@ logger = setup_logger()
|
|||||||
litellm.drop_params = True
|
litellm.drop_params = True
|
||||||
litellm.telemetry = False
|
litellm.telemetry = False
|
||||||
|
|
||||||
|
litellm.set_verbose = LOG_ALL_MODEL_INTERACTIONS
|
||||||
|
|
||||||
|
|
||||||
def _base_msg_to_role(msg: BaseMessage) -> str:
|
def _base_msg_to_role(msg: BaseMessage) -> str:
|
||||||
if isinstance(msg, HumanMessage) or isinstance(msg, HumanMessageChunk):
|
if isinstance(msg, HumanMessage) or isinstance(msg, HumanMessageChunk):
|
||||||
|
Reference in New Issue
Block a user