Skip to content

Commit fcf0ccd

Browse files
committed
Relocate the prompt caching section in the readme
1 parent 7cc2cd1 commit fcf0ccd

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ Find a complete set of files relevant to the following query. Include the primar
115115

116116
</details>
117117

118+
## Prompt caching
119+
120+
CWC orders context files by modification and selection recency. This, combined with instructions placement at the message's very end effecively utilizes [prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching) across tasks.
121+
118122
## Enabling autofill
119123

120124
Install the [browser extension](https://github.com/robertpiosik/CodeWebChat/tree/dev/apps/browser) and never copy and paste again.
@@ -151,12 +155,6 @@ Install the [browser extension](https://github.com/robertpiosik/CodeWebChat/tree
151155
> [!NOTE]
152156
> Use [forwarding](https://code.visualstudio.com/docs/debugtest/port-forwarding) of port _55155_ when using remote machine via SSH.
153157
154-
## Prompt caching
155-
156-
CWC orders context files by modification and selection recency. This, combined with instructions placement at the message's very end effecively utilizes [prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching) across tasks.
157-
158-
Make your chatbot quota last longer, lower input token costs by up to 90%, and reduce latency by up to 80%!
159-
160158
## Commands
161159

162160
### Code at Cursor

0 commit comments

Comments
 (0)