flow run
Run a spec
Usage
flow run [OPTIONS] CONFIG_FILE
Options
| Name | Type | Description | Default |
|---|---|---|---|
--dry-run |
boolean | Do not run spec, but show a count of tasks that would be run. | False |
--log-dir-allow-dirty |
boolean | Do not fail if the log-dir contains files that are not part of the eval set. | False |
--venv |
boolean | If set run the flow in a virtual environment in a temporary directory. | False |
--log-dir-create-unique |
boolean | If set, create a new log directory by appending an _ and numeric suffix if the specified log_dir already exists. If the directory exists and has a _numeric suffix, that suffix will be incremented. If not set, use the existing log_dir (which must be empty or have log_dir_allow_dirty=True). | False |
--log-dir |
directory | Set the log directory. Will override the log_dir specified in the config. | None |
--limit |
integer | Limit the number of samples to run. | None |
--arg, -A |
text | Set arguments that will be passed as kwargs to the function in the flow config. Only used when the last statement in the config file is a function. Examples: --arg task_min_priority=2 If the same key is provided multiple times, later values will override earlier ones. |
None |
--set, -s |
text | Set config overrides. Examples: --set defaults.solver.args.tool_calls=none --set options.limit=10 --set options.metadata={"key1": "val1", "key2": "val2"} The specified value may be a string or json parsable list or dict. If string is provided then it will be appended to existing list values. If json list or dict is provided then it will replace existing values. If the same key is provided multiple times, later values will override earlier ones. |
None |
--log-level |
choice (debug | trace | http | info | warning | error | critical | notset) |
Set the log level (defaults to ‘info’) | info |
--help |
boolean | Show this message and exit. | False |