Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Commit d32a407

Browse files
committed
fix: fixed lint issue
1 parent 9471bbf commit d32a407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dreadnode_cli/agent/format.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def format_run(run: api.Client.StrikeRunResponse, *, verbose: bool = False, incl
293293

294294
table.add_row("", "")
295295
# um@ is added to indicate a user model
296-
table.add_row("model", run.model.replace("um@", "") or "<default>")
296+
table.add_row("model", run.model.replace("um@", "") if run.model else "<default>")
297297
table.add_row("agent", f"{agent_name} ([dim]rev[/] [yellow]{run.agent_revision}[/])")
298298
table.add_row("image", Text(run.agent_version.container.image, style="cyan"))
299299
table.add_row("notes", run.agent_version.notes or "-")
@@ -326,7 +326,7 @@ def format_runs(runs: list[api.Client.StrikeRunSummaryResponse]) -> RenderableTy
326326
f"[bold magenta]{run.agent_key}[/] [dim]:[/] [yellow]{run.agent_revision}[/]",
327327
Text(run.status, style="bold " + get_status_style(run.status)),
328328
# um@ is added to indicate a user model
329-
Text(run.model.replace("um@", "") or "-"),
329+
Text(run.model.replace("um@", "") if run.model else "-"),
330330
format_time(run.start),
331331
Text(format_duration(run.start, run.end), style="bold cyan"),
332332
)

0 commit comments

Comments
 (0)