diff --git a/minion.py b/minion.py index 07e1079..2243ef4 100644 --- a/minion.py +++ b/minion.py @@ -3304,7 +3304,7 @@ def clear_tool_status(): leaked_token_run += 1 else: leaked_token_run = 0 - if rc.strip(): + if rc(): print(f"{DIM}{rc}{RESET}", end="", flush=True) reasoning_parts.append(rc) if not content and not tcs: @@ -3382,7 +3382,7 @@ def clear_tool_status(): last_chunk = chunk else: repeat_chunk_run = 0 - if chunk.strip(): + if chunk(): print(chunk, end="", flush=True) content.append(chunk) streamed_chars += len(chunk)