data_juicer_agents.tools.process.execute_bash#

execute_bash tool package — SmartBash harness.

class data_juicer_agents.tools.process.execute_bash.ExecuteBashInput(*, command: str, timeout: Annotated[int, Ge(ge=1)] = 120)[source]#

Bases: BaseModel

command: str#
timeout: int#
model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class data_juicer_agents.tools.process.execute_bash.GenericOutput(*, ok: bool = True)[source]#

Bases: BaseModel

ok: bool#
model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

data_juicer_agents.tools.process.execute_bash.execute_bash(*, command: str, timeout: int = 120) Dict[str, Any][source]#