feat: expose run step budgets to clients

This commit is contained in:
lda
2026-09-05 21:26:31 +07:00 Verified
parent 7141a8818d
commit 715035dce8
18 changed files with 458 additions and 18 deletions
+9
View File
@@ -70,6 +70,14 @@ def start_run(
"--trace-limit", min=1, max=100, help="Optional trace slice limit."
),
] = None,
max_steps: Annotated[
int | None,
typer.Option(
"--max-steps",
min=1,
help="Optional run step budget; the server default applies when omitted.",
),
] = None,
) -> None:
"""Start one workflow deployment."""
try:
@@ -84,6 +92,7 @@ def start_run(
deployment_id=deployment_id,
workflow_input=workflow_input,
trace_range=trace_range,
max_steps=max_steps,
),
)
emit_json(payload)