mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user