Skip to content

Commit fe2f3b9

Browse files
committed
Increase httpx log-level
1 parent cc1a02a commit fe2f3b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/pytgpt/bard/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
from json import load
77
from json import dumps
88
import warnings
9+
import logging
10+
11+
logging.getLogger("httpx").setLevel(logging.ERROR)
912

1013
warnings.simplefilter("ignore", category=UserWarning)
1114

0 commit comments

Comments
 (0)