Fix: Update Gemini model to 2.5-flash-preview

Updates the Gemini model used for AI replies in the roleplay cog from 2.0-flash-exp to 2.5-flash-preview. This change utilizes a newer, potentially improved model for generating responses.
This commit is contained in:
Slipstream 2025-05-13 17:41:45 -06:00
parent 20e39baf20
commit 0dc11c0674
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -61,7 +61,7 @@ async def _teto_reply_ai_with_messages(messages, system_mode="reply"):
"Maintain the persona throughout the conversation. "
)
payload = {
"model": "google/gemini-2.0-flash-exp:free", # Using the model from the original cog
"model": "google/gemini-2.5-flash-preview:thinking", # Using the model from the original cog
"messages": [{"role": "system", "content": system_prompt}] + messages
}
async with aiohttp.ClientSession() as session: