From cb193bb4296af8f8fbb1177afddf4bc4175b4614 Mon Sep 17 00:00:00 2001 From: Cameron Pfiffer Date: Wed, 7 Jan 2026 17:45:51 -0800 Subject: [PATCH] =?UTF-8?q?Fix=20Modal=20deprecation=20warning:=20keep=5Fw?= =?UTF-8?q?arm=20=E2=86=92=20min=5Fcontainers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index a08adb0..3646d1c 100644 --- a/app.py +++ b/app.py @@ -110,7 +110,7 @@ async def health(): @app.function( image=image, secrets=[], # No secrets needed anymore! - keep_warm=1, # Keep one instance warm + min_containers=1, # Keep one instance warm ) @modal.asgi_app() def api(): -- 2.51.2