From 4b47719f8616447903036f67c9db16e90e0c823b Mon Sep 17 00:00:00 2001 From: Swapna Lekkala Date: Thu, 18 Sep 2025 16:21:54 -0700 Subject: [PATCH] clean it --- llama_stack/core/routers/inference.py | 1 + 1 file changed, 1 insertion(+) diff --git a/llama_stack/core/routers/inference.py b/llama_stack/core/routers/inference.py index 88099acd0..762d7073e 100644 --- a/llama_stack/core/routers/inference.py +++ b/llama_stack/core/routers/inference.py @@ -739,6 +739,7 @@ class InferenceRouter(Inference): id = None created = None choices_data: dict[int, dict[str, Any]] = {} + try: async for chunk in response: # Skip None chunks