Skip to content

Commit

Permalink
comma-separate multiple resources in display=plain (#1167)
Browse files Browse the repository at this point in the history
  • Loading branch information
tadamcz authored Jan 21, 2025
1 parent ac268d1 commit 124d837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inspect_ai/_display/plain/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def _print_status(self) -> None:
resources_dict: dict[str, str] = {}
for model, resource in concurrency_status().items():
resources_dict[model] = f"{resource[0]:2d}/{resource[1]:2d}"
resources = "".join(
resources = ", ".join(
[f"{key}: {value}" for key, value in resources_dict.items()]
)
status_parts.append(resources)
Expand Down

0 comments on commit 124d837

Please sign in to comment.