mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-17 22:24:21 +01:00
add configurability for a tool_params_max_length (#2448)
Co-authored-by: Yingjie He <yingjiehe@squareup.com>
This commit is contained in:
committed by
GitHub
parent
9a7abfec9e
commit
302ac81990
@@ -72,6 +72,7 @@ These variables control how Goose handles [tool permissions](/docs/guides/tool-p
|
||||
| `GOOSE_TOOLSHIM` | Enables/disables tool call interpretation | "1", "true" (case insensitive) to enable | false |
|
||||
| `GOOSE_TOOLSHIM_OLLAMA_MODEL` | Specifies the model for [tool call interpretation](/docs/guides/experimental-features/#ollama-tool-shim) | Model name (e.g. llama3.2, qwen2.5) | System default |
|
||||
| `GOOSE_CLI_MIN_PRIORITY` | Controls verbosity of [tool output](/docs/guides/adjust-tool-output) | Float between 0.0 and 1.0 | 0.0 |
|
||||
| `GOOSE_CLI_TOOL_PARAMS_TRUNCATION_MAX_LENGTH` | Maximum length for tool parameter values before truncation in CLI output (not in debug mode) | Integer | 40 |
|
||||
|
||||
**Examples**
|
||||
|
||||
@@ -81,6 +82,7 @@ export GOOSE_TOOLSHIM=true
|
||||
export GOOSE_TOOLSHIM_OLLAMA_MODEL=llama3.2
|
||||
export GOOSE_MODE="auto"
|
||||
export GOOSE_CLI_MIN_PRIORITY=0.2 # Show only medium and high importance output
|
||||
export GOOSE_CLI_TOOL_PARAMS_MAX_LENGTH=100 # Show up to 100 characters for tool parameters in CLI output
|
||||
```
|
||||
## Security Configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user