Skip to main content

bash_options

Function bash_options 

Source
pub fn bash_options() -> BashToolOptions
Expand description

Build the tool list per --tools/--exclude-tools/--no-tools/ --no-builtin-tools. Mirrors the TS tools/excludeTools/noTools resolution in createAgentSession. Default bash timeout: 120s when the model doesn’t pass one (prevents a forgotten timeout from hanging the run forever — the “卡住” report). RPI_BASH_TIMEOUT overrides; a model-supplied timeout always wins.