diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/docs/ai/settings.md | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/docs/ai/settings.md b/docs/docs/ai/settings.md index be27261f..ad7c7af7 100644 --- a/docs/docs/ai/settings.md +++ b/docs/docs/ai/settings.md @@ -8,6 +8,10 @@ Default: `false` Whether or not the AI feature are enabled. When set to `false`, the question mark keybinding will output a message with instructions to run `atuin setup` to enable the feature. +## Opening context + +Settings that control what context is sent in the opening AI request. These are specified under `[ai.opening]`. + ### send_cwd Default: `false` @@ -17,10 +21,23 @@ Whether or not to include your current working directory in the context sent to **Example config** ```toml -[ai] +[ai.opening] send_cwd = true ``` +### send_last_command + +Default: `false` + +Whether or not to send your previous command as context in the initial request, allowing the AI to provide more relevant suggestions. + +**Example config** + +```toml +[ai.opening] +send_last_command = true +``` + ### endpoint Default: `null` |
