From 1a0e5bae27d520dc9e7aba278378239ad9554d2b Mon Sep 17 00:00:00 2001 From: Aniket Maurya Date: Fri, 10 Jan 2025 13:08:42 +0000 Subject: [PATCH] fix --- src/litserve/loops/simple_loops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/litserve/loops/simple_loops.py b/src/litserve/loops/simple_loops.py index 751a6246..bbb8949d 100644 --- a/src/litserve/loops/simple_loops.py +++ b/src/litserve/loops/simple_loops.py @@ -213,7 +213,7 @@ def run_batched_loop( y_enc_list = [] for response_queue_id, y, uid, context in zip(response_queue_ids, outputs, uids, contexts): y_enc = _inject_context(context, lit_api.encode_response, y) - y_enc_list.append((response_queue_id, uid, y_enc)) + y_enc_list.append((response_queue_id, uid, y_enc)) callback_runner.trigger_event(EventTypes.AFTER_ENCODE_RESPONSE, lit_api=lit_api) for response_queue_id, uid, y_enc in y_enc_list: