[Bugfix] Fix a bug in RequestOutput.finished (#202)
This commit is contained in:
@@ -30,7 +30,7 @@ def main(args: argparse.Namespace):
|
||||
|
||||
request_outputs = engine.step()
|
||||
for request_output in request_outputs:
|
||||
if request_output.finished():
|
||||
if request_output.finished:
|
||||
print(request_output)
|
||||
|
||||
if not (engine.has_unfinished_requests() or test_prompts):
|
||||
|
||||
Reference in New Issue
Block a user