mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 07:04:25 +00:00
feat: make bash tool timeout optional and configurable
- Add optional timeout parameter (in seconds) to bash tool - No default timeout - commands run until completion unless specified - Agent can provide timeout when needed for long-running commands - Update README to reflect optional timeout
This commit is contained in:
parent
60cea11f37
commit
29900ce647
2 changed files with 20 additions and 10 deletions
|
|
@ -320,7 +320,7 @@ Write content to a file. Creates the file if it doesn't exist, overwrites if it
|
|||
Edit a file by replacing exact text. The oldText must match exactly (including whitespace). Use this for precise, surgical edits. Returns an error if the text appears multiple times or isn't found.
|
||||
|
||||
**bash**
|
||||
Execute a bash command in the current working directory. Returns stdout and stderr. Commands run with a 30 second timeout.
|
||||
Execute a bash command in the current working directory. Returns stdout and stderr. Optionally accepts a `timeout` parameter (in seconds) - no default timeout.
|
||||
|
||||
### MCP & Adding Your Own Tools
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue