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:
parent
20e39baf20
commit
0dc11c0674
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user