Docs · Operate runs

tempergraph config

Resolved run settings and the settings files.

Usage#

usage
tempergraph config [-h] {show,validate,paths} ...

config show#

the settings a run of the workflow would get, and the layer each value comes from

usage
tempergraph config show [-h] [--thread THREAD] [--key KEY] [--executor EXECUTOR] [--judge-executor JUDGE_EXECUTOR] [--model MODEL] [--judge-model JUDGE_MODEL] [--timeout TIMEOUT] [--judge-timeout JUDGE_TIMEOUT] [--idle IDLE] [--run-cost-cap RUN_COST_CAP] [--daily-cap DAILY_CAP] [--auto-reopen AUTO_REOPEN] [--audit-rate AUDIT_RATE] [--audit-executor AUDIT_EXECUTOR] [--step-executor STEP=NAME] [--step-model STEP=ALIAS] [--approve STEP] [--grant UNIT=CAPABILITY[,…]] [--allow-command UNIT=PREFIX] [--enforce-tools] [--strict-permissions] [--set KEY=VALUE] [--settings FILE] [--profile PROFILE] [--json] workflow
ArgumentWhat it is
<workflow>the workflow to resolve settings for
OptionWhat it does
--thread THREADresolve for this existing thread instead of a new run
--key KEYa glob over the keys shown
--executor EXECUTORthe executor of every step (sets steps.executor)
--judge-executor JUDGE_EXECUTORthe executor of every judge (sets judges.executor)
--model MODELthe model of every step, as an alias such as sonnet or opus (sets steps.model)
--judge-model JUDGE_MODELthe model of every judge, as an alias (sets judges.model)
--timeout TIMEOUTseconds a step session may run before it is stopped (sets steps.timeout_s)
--judge-timeout JUDGE_TIMEOUTseconds a judge session may run before it is stopped (sets judges.timeout_s)
--idle IDLEseconds a step session may stay silent before it is stopped (sets steps.idle_s)
--run-cost-cap RUN_COST_CAPthe most this run may spend, in USD; the run stops with exit 5 when it is reached (sets run.run_cost_cap_usd)
--daily-cap DAILY_CAPthe self-improvement loop's spending limit per UTC day, in USD (sets run.daily_cap_usd)
--auto-reopen AUTO_REOPENre-open a run that ended on spent retries, a step timeout or an infrastructure failure up to N times (sets run.auto_reopen)
--audit-rate AUDIT_RATEthe chance, 0 to 1, that a second judge audits a judgement; the audit never changes the verdict (sets run.audit_rate)
--audit-executor AUDIT_EXECUTORthe executor of the audit judge (sets run.audit_executor)
--step-executor STEP=NAMEthe executor of one step; repeatablerepeatable
--step-model STEP=ALIASthe model of one step; repeatablerepeatable
--approve STEPadd a person's approval pause at this step's gate; repeatablerepeatable
--grant UNIT=CAPABILITY[,…]give a unit extra tool capabilities for this run; repeatablerepeatable
--allow-command UNIT=PREFIXlet a unit run shell commands that start with this prefix; repeatablerepeatable
--enforce-toolslimit each step to the tools it declares; a step on an executor that cannot enforce them is refused
--strict-permissionsenforce declared tools, refuse undeclared ones and never run an executor in an automatic-approval mode
--set KEY=VALUEset one run setting for this thread; repeatable (tempergraph config show lists the keys)repeatable
--settings FILEa JSON map of keys to values, recorded as flags
--profile PROFILEapply a named settings profile from the settings files; repeatablerepeatable
--jsonprint the settings as JSON

config validate#

check the settings files, or one file, without running anything

usage
tempergraph config validate [-h] [--file FILE]
OptionWhat it does
--file FILEthe settings file to check

config paths#

print where the settings files are read from

usage
tempergraph config paths [-h]

Edit this page on GitHub · engine 0.9.0