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:
parent
d461b795d7
commit
0ef8ee8cc0
@ -389,10 +389,10 @@ class AICodeAgentCog(commands.Cog):
|
|||||||
# AI Model Configuration
|
# AI Model Configuration
|
||||||
self._ai_model: str = "gemini-2.5-flash-preview-05-20" # Default model
|
self._ai_model: str = "gemini-2.5-flash-preview-05-20" # Default model
|
||||||
self._available_models: Dict[str, str] = {
|
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",
|
"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.
|
# 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.
|
# 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.
|
# If 2.5 models are indeed what's intended and available, these strings should be updated.
|
||||||
|
@ -17,7 +17,7 @@ try:
|
|||||||
except (ImportError, AttributeError):
|
except (ImportError, AttributeError):
|
||||||
AVAILABLE_AI_MODELS = {
|
AVAILABLE_AI_MODELS = {
|
||||||
"google/gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Preview",
|
"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",
|
"claude-sonnet-4@20250514": "Claude Sonnet 4",
|
||||||
"llama-4-maverick-17b-128e-instruct-maas": "Llama 4 Maverick Instruct",
|
"llama-4-maverick-17b-128e-instruct-maas": "Llama 4 Maverick Instruct",
|
||||||
"google/gemini-2.0-flash-001": "Gemini 2.0 Flash",
|
"google/gemini-2.0-flash-001": "Gemini 2.0 Flash",
|
||||||
|
@ -41,7 +41,7 @@ EMOJI_STICKER_DESCRIPTION_MODEL = (
|
|||||||
# Available AI Models for dynamic switching
|
# Available AI Models for dynamic switching
|
||||||
AVAILABLE_AI_MODELS = {
|
AVAILABLE_AI_MODELS = {
|
||||||
"google/gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Preview",
|
"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",
|
"claude-sonnet-4@20250514": "Claude Sonnet 4",
|
||||||
"llama-4-maverick-17b-128e-instruct-maas": "Llama 4 Maverick Instruct",
|
"llama-4-maverick-17b-128e-instruct-maas": "Llama 4 Maverick Instruct",
|
||||||
"google/gemini-2.0-flash-001": "Gemini 2.0 Flash",
|
"google/gemini-2.0-flash-001": "Gemini 2.0 Flash",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user