Skip to content

Commit 30f1862

Browse files
committed
docs: Remove prompt caching instructions for Gemini and OpenRouter providers
1 parent 4f67612 commit 30f1862

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

docs/providers/gemini.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@ Refer to the [Gemini documentation](https://ai.google.dev/models/gemini) for mor
4343
3. **Enter API Key:** Paste your Gemini API key into the "Gemini API Key" field.
4444
4. **Select Model:** Choose your desired Gemini model from the "Model" dropdown.
4545

46-
5. **(Optional) Enable Prompt Caching (Gemini 2.5 Models):** For supported Gemini 2.5 models, check the "Enable Prompt Caching" box if you wish to activate prompt caching. See the note below for important details specific to this provider.
47-
<img src="/img/v3.14.2/v3.14.2.png" alt="Prompt Caching Checkbox for Gemini Provider" width="600" />
4846
## Tips and Notes
4947

50-
* **Prompt Caching (Manual Activation Required):**
51-
* Prompt caching is available for supported Gemini 2.5 models.
52-
* However, for the **Google Gemini provider**, caching is **not enabled by default**.
53-
* You **must manually check** the "Enable Prompt Caching" box in the provider settings to activate it.
54-
* **Reason:** This manual step is a temporary workaround due to potential response delays sometimes observed with Google's caching mechanism when accessed directly via this provider.
5548
* **Pricing:** Gemini API usage is priced based on input and output tokens. Refer to the [Gemini pricing page](https://ai.google.dev/pricing) for detailed information.

docs/providers/openrouter.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ OpenRouter supports a large and growing number of models. Roo Code automaticall
2626
4. **Select Model:** Choose your desired model from the "Model" dropdown.
2727
5. **(Optional) Custom Base URL:** If you need to use a custom base URL for the OpenRouter API, check "Use custom base URL" and enter the URL. Leave this blank for most users.
2828

29-
6. **(Optional) Enable Prompt Caching (Supported Models):** For models accessed via OpenRouter that support caching (like Gemini 2.5), check the "Enable Prompt Caching" box if you wish to activate it. See the note below for important details specific to this provider.
30-
<img src="/img/v3.14.2/v3.14.2.png" alt="Prompt Caching Checkbox for OpenRouter Provider" width="600" />
3129
## Supported Transforms
3230

3331
OpenRouter provides an [optional "middle-out" message transform](https://openrouter.ai/docs/features/message-transforms) to help with prompts that exceed the maximum context size of a model. You can enable it by checking the "Compress prompts and message chains to the context size" box.

0 commit comments

Comments
 (0)