mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-18 06:34:26 +01:00
feat: enable smart approve for user by default (#1599)
This commit is contained in:
@@ -96,76 +96,8 @@ Here's how to configure:
|
||||
4. Under `Mode Selection`, choose the mode you'd like
|
||||
|
||||
:::info
|
||||
If you choose `Approve` mode, you will see "Allow" and "Deny" buttons in your session windows during tool calls with write operations.
|
||||
If you choose `Approve` mode, you will see "Allow" and "Deny" buttons in your session windows during tool calls. Goose will only ask for permission before tool call for tools that it deems are 'write' tools, for example any 'text editor write', 'text editor edit', 'bash - rm, cp, mv' commands, as an example. Read write approval makes best effort attempt at classifying read or write tools- this is interpreted by your LLM provider.
|
||||
:::
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
## Smart Approve
|
||||
|
||||
Goose introduces the **Smart Approve** feature when the Goose mode is set to `Approve`. With Smart Approve enabled, Goose evaluates the risk level of a tool call before execution.
|
||||
|
||||
- **If the tool call is deemed risky (e.g. tool requires Goose to write)**, Goose will prompt you for confirmation before proceeding.
|
||||
- **If the tool call is considered safe**, Goose will execute it directly without any notification.
|
||||
|
||||
This feature is enabled by default. If you wish to disable Smart Approve, you can
|
||||
|
||||
1. Run the following command:
|
||||
|
||||
```sh
|
||||
goose configure
|
||||
```
|
||||
|
||||
2. Select `Goose Settings` from the menu and press Enter.
|
||||
|
||||
```sh
|
||||
┌ goose-configure
|
||||
│
|
||||
◆ What would you like to configure?
|
||||
| ○ Configure Providers
|
||||
| ○ Add Extension
|
||||
| ○ Toggle Extensions
|
||||
| ○ Remove Extension
|
||||
// highlight-start
|
||||
| ● Goose Settings (Set the Goose Mode, Tool Output, Experiment and more)
|
||||
// highlight-end
|
||||
└
|
||||
```
|
||||
|
||||
3. Choose `Toggle Experiment` from the menu and press Enter.
|
||||
|
||||
```sh
|
||||
┌ goose-configure
|
||||
│
|
||||
◇ What would you like to configure?
|
||||
│ Goose Settings
|
||||
│
|
||||
◆ What setting would you like to configure?
|
||||
│ ○ Goose Mode
|
||||
│ ○ Tool Output
|
||||
// highlight-start
|
||||
│ ● Toggle Experiment (Enable or disable an experiment feature)
|
||||
// highlight-end
|
||||
└
|
||||
```
|
||||
|
||||
4. Toggle `GOOSE_SMART_APPROVE` and press Enter.
|
||||
|
||||
```sh
|
||||
┌ goose-configure
|
||||
┌ goose-configure
|
||||
│
|
||||
◇ What would you like to configure?
|
||||
│ Goose Settings
|
||||
│
|
||||
◇ What setting would you like to configure?
|
||||
│ Toggle Experiment
|
||||
│
|
||||
◆ enable experiments: (use "space" to toggle and "enter" to submit)
|
||||
// highlight-start
|
||||
│ ◼ GOOSE_SMART_APPROVE
|
||||
// highlight-end
|
||||
└
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user