You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/providers/gemini.md
-7Lines changed: 0 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,13 +43,6 @@ Refer to the [Gemini documentation](https://ai.google.dev/models/gemini) for mor
43
43
3.**Enter API Key:** Paste your Gemini API key into the "Gemini API Key" field.
44
44
4.**Select Model:** Choose your desired Gemini model from the "Model" dropdown.
45
45
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
-
<imgsrc="/img/v3.14.2/v3.14.2.png"alt="Prompt Caching Checkbox for Gemini Provider"width="600" />
48
46
## Tips and Notes
49
47
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.
55
48
***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.
Copy file name to clipboardExpand all lines: docs/providers/openrouter.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,6 @@ OpenRouter supports a large and growing number of models. Roo Code automaticall
26
26
4.**Select Model:** Choose your desired model from the "Model" dropdown.
27
27
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.
28
28
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
-
<imgsrc="/img/v3.14.2/v3.14.2.png"alt="Prompt Caching Checkbox for OpenRouter Provider"width="600" />
31
29
## Supported Transforms
32
30
33
31
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