diff options
| author | adamdottv <[email protected]> | 2025-05-12 09:44:56 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-12 09:44:56 -0500 |
| commit | dfe5fd8d970f76af9db0a7bf9a1e6f0bc01a291c (patch) | |
| tree | ebf8123a492626a31b7767b18a60594879cd70b0 /internal/llm/tools/bash.go | |
| parent | ed9fba99c9e230094ed5d468c88f81469d60c911 (diff) | |
| download | opencode-dfe5fd8d970f76af9db0a7bf9a1e6f0bc01a291c.tar.gz opencode-dfe5fd8d970f76af9db0a7bf9a1e6f0bc01a291c.zip | |
wip: refactoring
Diffstat (limited to 'internal/llm/tools/bash.go')
| -rw-r--r-- | internal/llm/tools/bash.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/llm/tools/bash.go b/internal/llm/tools/bash.go index 7231e1d2a..eb27026e5 100644 --- a/internal/llm/tools/bash.go +++ b/internal/llm/tools/bash.go @@ -268,6 +268,7 @@ func (b *bashTool) Run(ctx context.Context, call ToolCall) (ToolResponse, error) } if !isSafeReadOnly { p := b.permissions.Request( + ctx, permission.CreatePermissionRequest{ SessionID: sessionID, Path: config.WorkingDirectory(), |
