tabbyAPI-ollama/common
kingbri 894be4a818 Startup: Check if the port is available and fallback
Similar to Gradio, fall back to port + 1 if the config port isn't
bindable. If both ports aren't available, let the user know and exit.
An infinite loop of finding a port isn't advisable.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-11 21:57:28 -04:00
..
args.py Config: Add experimental torch cuda malloc backend 2024-02-14 21:45:56 -05:00
auth.py Logging: Switch to loguru 2024-03-08 01:00:48 -05:00
config.py Logging: Switch to loguru 2024-03-08 01:00:48 -05:00
gen_logging.py Logging: Switch to loguru 2024-03-08 01:00:48 -05:00
generators.py Generation: Explicitly release semaphore on disconnect 2024-03-10 17:54:48 -04:00
logger.py Logging: Escape rich markup sequences 2024-03-11 00:28:48 -04:00
sampling.py Logging: Switch to loguru 2024-03-08 01:00:48 -05:00
templating.py API: Add template switching and unload endpoints 2024-01-25 00:15:40 -05:00
utils.py Startup: Check if the port is available and fallback 2024-03-11 21:57:28 -04:00