trading_agent.tools.bash_check_tool
¶
The bash_check tool: reports on a background job.
Typical usage example:
tool = BashCheckTool(session)
JobArguments
¶
Bases: BaseModel
The arguments of bash_check.
Attributes:
| Name | Type | Description |
|---|---|---|
job_id |
str
|
The identifier bash_background returned. |
BashCheckTool
¶
Bases: BashTool
Says whether a background job is still running.
Source code in src/trading_agent/tools/bash_tool.py
run
async
¶
Checks the job.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
arguments
|
JobArguments
|
The job id. |
required |
Returns:
| Type | Description |
|---|---|
ToolResult
|
"running" or "finished", then the end of the job's output. |