Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketmaurya committed Jan 10, 2025
1 parent 2480311 commit 1a0e5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/litserve/loops/simple_loops.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1a0e5ba

Please sign in to comment.