We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a4759e commit ad048b8Copy full SHA for ad048b8
src/pdl/pdl_scheduler.py
@@ -115,7 +115,7 @@ def schedule(
115
text = stringify(result)
116
else:
117
text = colored(stringify(result), msg.color)
118
- print(text, end="")
+ print(text, end="", flush=True)
119
todo_next.append((i, gen, None))
120
case YieldBackgroundMessage(background=background):
121
if len(background) > 0 and background[0]["role"] == _LAST_ROLE:
@@ -127,7 +127,7 @@ def schedule(
127
s += "\n".join(
128
[f"{msg['role']}: {msg['content']}" for msg in background]
129
)
130
- print(s, end="")
+ print(s, end="", flush=True)
131
132
case ModelCallMessage():
133
text_msg = BamModel.generate_text(
0 commit comments