Skip to content

Commit a851b9b

Browse files
authored
Cleanup LiteLLM logs (#32)
1 parent 5cee348 commit a851b9b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

services/chat-backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ show_missing = true
5757
default-groups = ["dev"]
5858

5959
[tlm-core]
60-
version = "v0.0.48"
60+
version = "v0.0.49"

services/chat-backend/src/routers/chat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
logger = logging.getLogger(__name__)
2525

26+
logging.getLogger("LiteLLM").setLevel(logging.WARNING)
27+
logging.getLogger("httpx").setLevel(logging.WARNING)
2628

2729
chat_router = APIRouter(
2830
prefix="/chat",

0 commit comments

Comments
 (0)