Skip to content

Commit a1e0f45

Browse files
committed
Update README documentation for prompt caching and command descriptions
1 parent e831a43 commit a1e0f45

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ Find a complete set of relevant files according to the following query:
118118

119119
## Prompt caching
120120

121-
When coding with CWC, it's natural to start new chats (send fresh messages) instead of continuing a hallucination-prone long conversation. With context files ordered based on edit and selection recency, **[prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching) is effectively utilized across tasks**.
121+
With first-class support for [prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching), CWC enables unmatched cost-efficiency. Preserve your chatbot quota for longer, lower input token costs by up to 90% and reduce latency by up to 80%.
122+
123+
> [!INFO]
124+
> **How it works?** Files sent with instructions are ordered by modification and selection recency, making prompt prefix largely unchanged, across tasks!
122125
123126
## Enabling autofill
124127

@@ -190,12 +193,12 @@ When calling APIs, requests are sent directly to the configured model providers.
190193
- `Add File to Context` - Search and add file (or parent folder via file action) to the context.
191194
- `Remove File from Context` - Search and remove file (or parent folder via file action) from the context.
192195
- `Search Files for Context` - Search and add files containing specific keywords to the context.
193-
- `Copy Context` - Copy XML-formatted checked files from the Workspace view to the clipboard.
194-
- `Copy Context of Open Editors` - Copy XML-formatted checked files from the Open Editors view to the clipboard.
196+
- `Copy Context` - Copy all selected files to the clipboard.
197+
- `Copy Context of Open Editors` - Copy opened and selected files to the clipboard.
195198

196199
### Commit messages
197200

198-
- `Commit Changes` - Generate commit message and commit.
201+
- `Commit Changes` - Generate commit message in your preferred style.
199202

200203
## Build from source
201204

0 commit comments

Comments
 (0)