From 6758309b0c11ddd8d872c6c0bef16859611957e4 Mon Sep 17 00:00:00 2001 From: JoyboyBrian Date: Sun, 5 Jan 2025 18:28:40 -0800 Subject: [PATCH] update --- nexa/gguf/server/nexa_service.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nexa/gguf/server/nexa_service.py b/nexa/gguf/server/nexa_service.py index 1a2714c4..b0939fb4 100644 --- a/nexa/gguf/server/nexa_service.py +++ b/nexa/gguf/server/nexa_service.py @@ -1716,7 +1716,9 @@ async def action(request: ActionRequest): if params['year'] == '2024': params['year'] = datetime.now().year - + + if params['departure'] == 'current': + params['departure'] = 'LAS' # Construct the date string in required format date_str = f"{params['date']}/{params['year']}"