diff options
| author | Jacob MacDonald <[email protected]> | 2025-06-13 21:21:40 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-14 04:21:40 +0000 |
| commit | d5c6bb9740a52d87b71d812e698d0e88abf10caa (patch) | |
| tree | 7cb990c0adbd1d76d60a655d3dfa15e22db033e3 /docs/cli | |
| parent | 1452bb4ca4ffe3b5c13aab81baaf510d4c45f06f (diff) | |
Add `/compress` command to force a compression of the context (#986)
Related to https://b.corp.google.com/issues/423605555 - I figured this might be a simpler solution to start with, while still also being useful on its own even if we do implement that.
Diffstat (limited to 'docs/cli')
| -rw-r--r-- | docs/cli/commands.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/cli/commands.md b/docs/cli/commands.md index f9e229a0..d5d8bc18 100644 --- a/docs/cli/commands.md +++ b/docs/cli/commands.md @@ -58,9 +58,15 @@ Slash commands provide meta-level control over the CLI itself. They can typicall - **Action:** Terminates the CLI process. - **`/tools`** + - **Description:** Displays a list of all the tools that are currently available to the model. - **Action:** Outputs a list of the available tools. +- **`/compress`** + + - **Description:** Compresses the current context. This will save on tokens used for future tasks while retaining a high level summary of what has happened. + - **Action:** Replaces the entire chat context with a summary. + ## At Commands (`@`) At commands are used to quickly include the content of files or directories as part of your prompt to Gemini. These commands now feature git-aware filtering. |
