fix of blocking of the text output in batch mode.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -80,8 +80,8 @@ class Batch:
|
||||
while True:
|
||||
try:
|
||||
m = msg_queue.get(timeout=0.2)
|
||||
if m.get("id", None) is None:
|
||||
# No id -> finished
|
||||
if "id" in m and m["id"] is None:
|
||||
# id key present and None -> finished
|
||||
break
|
||||
except Empty:
|
||||
if not tst_proc.is_alive():
|
||||
|
||||
Reference in New Issue
Block a user