Unverified Commit 0c0c8137 authored by Kai Fronsdal's avatar Kai Fronsdal Committed by GitHub
Browse files

Fix #857 (#858)

parent 90286d85
......@@ -553,7 +553,8 @@ class StreamExecutor:
"output_token_logprobs": output_token_logprobs,
}
self.variable_event[name].set()
self.stream_var_event[name].set()
if self.stream_var_event:
self.stream_var_event[name].set()
self.text_ += decision
def _execute_variable(self, expr: SglVariable):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment