Updates Gemini Pro model version

Updates the Gemini 2.5 Pro model from `gemini-2.5-pro-preview-05-06` to `gemini-2.5-pro-preview-06-05` across configurations.
This ensures the use of the more recent preview version of the model.
This commit is contained in:
Slipstream 2025-06-06 21:13:57 -06:00
parent d461b795d7
commit 0ef8ee8cc0
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD
3 changed files with 4 additions and 4 deletions

View File

@ -389,10 +389,10 @@ class AICodeAgentCog(commands.Cog):
# AI Model Configuration
self._ai_model: str = "gemini-2.5-flash-preview-05-20" # Default model
self._available_models: Dict[str, str] = {
"pro": "gemini-2.5-pro-preview-05-06", # Assuming this is the intended Pro model
"pro": "gemini-2.5-pro-preview-06-05", # Assuming this is the intended Pro model
"flash": "gemini-2.5-flash-preview-05-20",
}
# User mentioned "gemini-2.5-pro-preview-05-06" and "gemini-2.5-flash-preview-05-20"
# User mentioned "gemini-2.5-pro-preview-06-05" and "gemini-2.5-flash-preview-05-20"
# Updating to reflect those if they are the correct ones, otherwise the 1.5 versions are common.
# For now, sticking to what was in the plan based on common Gemini models.
# If 2.5 models are indeed what's intended and available, these strings should be updated.

View File

@ -17,7 +17,7 @@ try:
except (ImportError, AttributeError):
AVAILABLE_AI_MODELS = {
"google/gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Preview",
"google/gemini-2.5-pro-preview-05-06": "Gemini 2.5 Pro Preview",
"google/gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Preview",
"claude-sonnet-4@20250514": "Claude Sonnet 4",
"llama-4-maverick-17b-128e-instruct-maas": "Llama 4 Maverick Instruct",
"google/gemini-2.0-flash-001": "Gemini 2.0 Flash",

View File

@ -41,7 +41,7 @@ EMOJI_STICKER_DESCRIPTION_MODEL = (
# Available AI Models for dynamic switching
AVAILABLE_AI_MODELS = {
"google/gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Preview",
"google/gemini-2.5-pro-preview-05-06": "Gemini 2.5 Pro Preview",
"google/gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Preview",
"claude-sonnet-4@20250514": "Claude Sonnet 4",
"llama-4-maverick-17b-128e-instruct-maas": "Llama 4 Maverick Instruct",
"google/gemini-2.0-flash-001": "Gemini 2.0 Flash",