Common: Migrate request utils to networking

Helps organize the project better. Utils is meant to be for simple
functions like unwrap.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri
2024-03-21 23:21:57 -04:00
parent 2961c5f3f9
commit 6dfcbbd813
8 changed files with 111 additions and 115 deletions

View File

@@ -12,8 +12,9 @@ from common import config, gen_logging, sampling, model
from common.args import convert_args_to_dict, init_argparser
from common.auth import load_auth_keys
from common.logger import setup_logger
from common.networking import is_port_in_use
from common.signals import signal_handler
from common.utils import is_port_in_use, unwrap
from common.utils import unwrap
from endpoints.OAI.app import start_api