fix: Update AI model versions in AICodeAgentCog to reflect latest configurations

This commit is contained in:
Slipstream 2025-05-31 15:52:09 -06:00
parent 162460e5d4
commit 03dd18ec74
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -134,10 +134,10 @@ class AICodeAgentCog(commands.Cog):
print("AICodeAgentCog: PROJECT_ID or LOCATION not configured. Google GenAI Client not initialized.")
# AI Model Configuration
self._ai_model: str = "gemini-1.5-pro-preview-05-06" # Default model
self._ai_model: str = "gemini-2.5-flash-preview-05-20" # Default model
self._available_models: Dict[str, str] = {
"pro": "gemini-1.5-pro-preview-05-06", # Assuming this is the intended Pro model
"flash": "gemini-1.5-flash-preview-05-20"
"pro": "gemini-2.5-pro-preview-05-06", # 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"
# Updating to reflect those if they are the correct ones, otherwise the 1.5 versions are common.