INNER CODE UNIT · Python
print_startup_banner
cubist38/mlx-openai-server · app/main.py:63
def print_startup_banner(config_args: MLXServerConfig) -> None:
"""Log a compact startup banner describing the selected config.
The function emits human-friendly log messages that summarize the
runtime configuration (model path/type, host/port, concurrency,
LoRA settings, and logging options). Intended for the user-facing
startup output only.
Parameters
----------
config_args : MLXServerConfig
Single-model server configuration.
"""
logger.info("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━")
logger.info(f"✨ MLX Server v{__version__} Starting ✨")
logger.info("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━")
logger.info(f"🔮 Model Path: {config_args.model_path}")
if config_args.served_model_name: