Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/providers/gemini.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ Refer to the [Gemini documentation](https://ai.google.dev/models/gemini) for mor
3. **Enter API Key:** Paste your Gemini API key into the "Gemini API Key" field.
4. **Select Model:** Choose your desired Gemini model from the "Model" dropdown.

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.
<img src="/img/v3.14.2/v3.14.2.png" alt="Prompt Caching Checkbox for Gemini Provider" width="600" />
## Tips and Notes

* **Prompt Caching (Manual Activation Required):**
* Prompt caching is available for supported Gemini 2.5 models.
* However, for the **Google Gemini provider**, caching is **not enabled by default**.
* You **must manually check** the "Enable Prompt Caching" box in the provider settings to activate it.
* **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.
* **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.
8 changes: 7 additions & 1 deletion docs/providers/openrouter.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ OpenRouter supports a large and growing number of models. Roo Code automaticall
4. **Select Model:** Choose your desired model from the "Model" dropdown.
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.

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.
<img src="/img/v3.14.2/v3.14.2.png" alt="Prompt Caching Checkbox for OpenRouter Provider" width="600" />
## Supported Transforms

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.
Expand All @@ -34,4 +36,8 @@ OpenRouter provides an [optional "middle-out" message transform](https://openrou

* **Model Selection:** OpenRouter offers a wide range of models. Experiment to find the best one for your needs.
* **Pricing:** OpenRouter charges based on the underlying model's pricing. See the [OpenRouter Models page](https://openrouter.ai/models) for details.
* **Prompt Caching:** Some providers support prompt caching. See the OpenRouter documentation for supported models.
* **Prompt Caching:**
* OpenRouter passes caching requests to underlying models that support it. Check the [OpenRouter Models page](https://openrouter.ai/models) to see which models offer caching.
* For most models, caching should activate automatically if supported by the model itself (similar to how Requesty works).
* **Exception for Gemini Models via OpenRouter:** Due to potential response delays sometimes observed with Google's caching mechanism when accessed via OpenRouter, a manual activation step is required *specifically for Gemini models*.
* If using a **Gemini model** via OpenRouter, you **must manually check** the "Enable Prompt Caching" box in the provider settings to activate caching for that model. This checkbox serves as a temporary workaround. For non-Gemini models on OpenRouter, this checkbox is not necessary for caching.
1 change: 1 addition & 0 deletions docs/update-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This section contains notes about recent updates to Roo Code, listed by version

## Version 3.14

* [3.14.2](/update-notes/v3.14.2) (2025-04-24)
* [3.14.1](/update-notes/v3.14.1) (2025-04-24)
* [3.14.0](/update-notes/v3.14.0) (2025-04-23)

Expand Down
20 changes: 20 additions & 0 deletions docs/update-notes/v3.14.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Roo Code 3.14.2 Release Notes (2025-04-24)

This release introduces prompt caching for Gemini, user control over caching for specific models on OpenRouter, improved terminal output handling, and adds Russian language support.

## Gemini 2.5 Caching is HERE!

* **Prompt Caching for Gemini 2.5 Models:** Prompt caching is now available for supported Google Gemini 2.5 models when using the [Requesty](/providers/requesty), [Google Gemini](/providers/gemini), or [OpenRouter](/providers/openrouter) providers.
* **Manual Caching Toggle (Google Gemini & OpenRouter Only):**
* For the **[Google Gemini](/providers/gemini)** and **[OpenRouter](/providers/openrouter)** providers specifically, a new checkbox allows you to manually enable prompt caching for supported Gemini 2.5 models.
<img src="/img/v3.14.2/v3.14.2.png" alt="Prompt Caching Checkbox in Provider Settings" width="600" />
* **Why the checkbox?** This setting is provided as a temporary workaround for potential response delays sometimes observed with Google's caching mechanism when accessed via these two providers. Caching is *not* enabled by default for them.
* **Requesty:** Caching remains automatic for supported models via Requesty.

## Terminal Improvments

* Improved handling of terminal output containing backspace characters for cleaner display (thanks KJ7LNW!).

## Internationalization: Russian Language Added

* Added Russian language support (Спасибо asychin!).
1 change: 1 addition & 0 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ const sidebars: SidebarsConfig = {
type: 'category',
label: '3.14',
items: [
{ type: 'doc', id: 'update-notes/v3.14.2', label: '3.14.2' },
{ type: 'doc', id: 'update-notes/v3.14.1', label: '3.14.1' },
{ type: 'doc', id: 'update-notes/v3.14.0', label: '3.14.0' },
],
Expand Down
Binary file added static/img/v3.14.2/v3.14.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.