浏览代码

fix: litellm warning message

>:(
Timothy J. Baek 1 年之前
父节点
当前提交
e8085f80a7
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      backend/apps/litellm/main.py

+ 4 - 0
backend/apps/litellm/main.py

@@ -36,6 +36,10 @@ from config import (
     LITELLM_PROXY_HOST,
 )
 
+import warnings
+
+warnings.simplefilter("ignore")
+
 from litellm.utils import get_llm_provider
 
 import asyncio