mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
(ci/cd) print debug info for test_proxy_gunicorn_startup_config_dict
This commit is contained in:
parent
ca029d13ee
commit
7ccb7c00d8
1 changed files with 10 additions and 0 deletions
|
@ -33,6 +33,11 @@ def test_proxy_gunicorn_startup_direct_config():
|
|||
Test both approaches
|
||||
"""
|
||||
try:
|
||||
from litellm._logging import verbose_proxy_logger, verbose_router_logger
|
||||
import logging
|
||||
|
||||
verbose_proxy_logger.setLevel(level=logging.DEBUG)
|
||||
verbose_router_logger.setLevel(level=logging.DEBUG)
|
||||
filepath = os.path.dirname(os.path.abspath(__file__))
|
||||
# test with worker_config = config yaml
|
||||
config_fp = f"{filepath}/test_configs/test_config_no_auth.yaml"
|
||||
|
@ -48,6 +53,11 @@ def test_proxy_gunicorn_startup_direct_config():
|
|||
|
||||
def test_proxy_gunicorn_startup_config_dict():
|
||||
try:
|
||||
from litellm._logging import verbose_proxy_logger, verbose_router_logger
|
||||
import logging
|
||||
|
||||
verbose_proxy_logger.setLevel(level=logging.DEBUG)
|
||||
verbose_router_logger.setLevel(level=logging.DEBUG)
|
||||
filepath = os.path.dirname(os.path.abspath(__file__))
|
||||
# test with worker_config = config yaml
|
||||
config_fp = f"{filepath}/test_configs/test_config_no_auth.yaml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue