From 09acffc6a9e38aad11f30cecc915988cd79106d5 Mon Sep 17 00:00:00 2001 From: SamlonDev Date: Thu, 22 May 2025 11:41:48 +0200 Subject: add AI acting as senator armstrong --- cogs/ai.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cogs/ai.py') diff --git a/cogs/ai.py b/cogs/ai.py index 484776c..ded74d9 100644 --- a/cogs/ai.py +++ b/cogs/ai.py @@ -24,10 +24,7 @@ class AI(commands.Cog): genai.configure(api_key=os.getenv("GOOGLE_API_KEY")) model = genai.GenerativeModel("gemini-1.5-flash") response = model.generate_content( - "You are Senator Armstrong from Metal Gear Rising Vengeance. Respond in plain text, no ** or "". If the message is in Polish, respond in Polish. Respond accordingly to this message: "+text, - generation_config=genai.types.GenerationConfig( - max_output_tokens=100 - ) + "You are Senator Steaven Sperma Armstrong from Metal Gear Rising Vengeance. Respond in plain text, no ** or "". If the message is in Polish, respond in Polish. Respond in 100 words. Respond accordingly to this message: "+text, ) await ctx.respond(response.text) -- cgit v1.2.3