From 8decfb2fe0732635f39feb7d7b60a760d69e03d6 Mon Sep 17 00:00:00 2001 From: Saul Blanco Tejero Date: Thu, 2 Oct 2025 20:21:38 +0200 Subject: [PATCH 1/3] docs: update google models --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f4c46d26..b36b121f 100644 --- a/README.md +++ b/README.md @@ -123,8 +123,8 @@ The following OpenAI models are supported with automatic `openai/` prefix handli #### Gemini Models The following Gemini models are supported with automatic `gemini/` prefix handling: -- gemini-2.5-pro-preview-03-25 -- gemini-2.0-flash +- gemini-2.5-pro +- gemini-2.5-flash ### Model Prefix Handling The proxy automatically adds the appropriate prefix to model names: @@ -156,8 +156,8 @@ GEMINI_API_KEY="your-google-key" # Needed if PREFERRED_PROVIDER=google GEMINI_API_KEY="your-google-key" OPENAI_API_KEY="your-openai-key" # Needed for fallback PREFERRED_PROVIDER="google" -# BIG_MODEL="gemini-2.5-pro-preview-03-25" # Optional, it's the default for Google pref -# SMALL_MODEL="gemini-2.0-flash" # Optional, it's the default for Google pref +# BIG_MODEL="gemini-2.5-pro" # Optional, it's the default for Google pref +# SMALL_MODEL="gemini-2.5-flash" # Optional, it's the default for Google pref ``` **Example 3: Use Direct Anthropic ("Just an Anthropic Proxy" Mode)** From e43426f0fa3627919de1fb496d9726e3dccde14a Mon Sep 17 00:00:00 2001 From: Saul Blanco Tejero Date: Thu, 2 Oct 2025 20:23:28 +0200 Subject: [PATCH 2/3] chore: update google models of envfile --- .env.example | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 4df12e24..0e9dca6a 100644 --- a/.env.example +++ b/.env.example @@ -12,7 +12,7 @@ OPENAI_BASE_URL="https://api.openai.com/v1" # Optional: Specify the exact models to map haiku/sonnet to. # If PREFERRED_PROVIDER=google, these MUST be valid Gemini model names known to the server. -# Defaults to gemini-2.5-pro-preview-03-25 and gemini-2.0-flash if PREFERRED_PROVIDER=google. +# Defaults to gemini-2.5-pro and gemini-2.5-flash if PREFERRED_PROVIDER=google. # Defaults to gpt-4.1 and gpt-4.1-mini if PREFERRED_PROVIDER=openai. # These are IGNORED when PREFERRED_PROVIDER=anthropic (models are not remapped). # BIG_MODEL="gpt-4.1" @@ -20,8 +20,8 @@ OPENAI_BASE_URL="https://api.openai.com/v1" # Example Google mapping: # PREFERRED_PROVIDER="google" -# BIG_MODEL="gemini-2.5-pro-preview-03-25" -# SMALL_MODEL="gemini-2.0-flash" +# BIG_MODEL="gemini-2.5-pro" +# SMALL_MODEL="gemini-2.05-flash" # Example "just an Anthropic proxy" mode: # PREFERRED_PROVIDER="anthropic" From e07baccaab284e35369fc7db484f23023f5a1712 Mon Sep 17 00:00:00 2001 From: Saul Blanco Tejero Date: Thu, 2 Oct 2025 20:23:51 +0200 Subject: [PATCH 3/3] fix: typo --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 0e9dca6a..1947031b 100644 --- a/.env.example +++ b/.env.example @@ -21,7 +21,7 @@ OPENAI_BASE_URL="https://api.openai.com/v1" # Example Google mapping: # PREFERRED_PROVIDER="google" # BIG_MODEL="gemini-2.5-pro" -# SMALL_MODEL="gemini-2.05-flash" +# SMALL_MODEL="gemini-2.5-flash" # Example "just an Anthropic proxy" mode: # PREFERRED_PROVIDER="anthropic"