feat: Update default AI model to google/gemini-2.5-flash-preview in Teto and Roleplay cogs

This commit is contained in:
Slipstream 2025-05-16 20:44:14 -06:00
parent f681db5793
commit ed6144f995
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import aiohttp
CONVERSATION_HISTORY_FILE = 'data/roleplay_conversations.json'
# Default AI model
DEFAULT_AI_MODEL = "meta-llama/llama-4-maverick:free"
DEFAULT_AI_MODEL = "google/gemini-2.5-flash-preview"
def strip_think_blocks(text):
# Removes all <think>...</think> blocks, including multiline

View File

@ -21,7 +21,7 @@ import aiohttp
class TetoCog(commands.Cog):
def __init__(self, bot: commands.Bot):
self.bot = bot
self._ai_model = "meta-llama/llama-4-maverick:free" # Default model
self._ai_model = "google/gemini-2.5-flash-preview" # Default model
self._api_endpoint = "https://openrouter.ai/api/v1/chat/completions" # Default endpoint
async def _teto_reply_ai_with_messages(self, messages, system_mode="reply"):