Skip to content

Commit

Permalink
Set LITELLM_LOG as error level
Browse files Browse the repository at this point in the history
  • Loading branch information
henchaves committed Nov 21, 2024
1 parent 78dd03e commit 82712c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions giskard/llm/client/litellm.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Any, Dict, Optional, Sequence

import os
import json
import logging
import re
Expand All @@ -12,6 +13,7 @@
logger = logging.getLogger(__name__)

try:
os.environ["LITELLM_LOG"] = "ERROR"
import litellm
except ImportError as err:
raise LLMImportError(flavor="litellm") from err
Expand Down

0 comments on commit 82712c7

Please sign in to comment.