800 Commits

Author SHA1 Message Date
a1cddc11e4
Refine Teto's naive personality description
Update the system prompts in `roleplay_teto_cog.py` and `teto_cog.py` to provide a more detailed description of Teto's naive personality regarding sexual topics. Clarify that while she has some general knowledge, she is completely inexperienced, including not having masturbated. This aims to ensure her reactions in roleplay are consistently innocent and curious.

Also, remove the unnecessary `:thinking` suffix from the default AI model name
2025-05-15 10:02:47 -06:00
6806dd64ff
feat: Rename AI model commands for clarity and consistency in roleplay context 2025-05-14 21:02:45 -06:00
9cc3621fb1
feat: Refactor conversation history structure to support AI model selection and improve message handling 2025-05-14 21:01:46 -06:00
b32e836556
a 2025-05-14 21:00:08 -06:00
a5e6c5adb2
feat: Add AI model selection commands and improve conversation history management 2025-05-14 20:58:38 -06:00
7388d411ee
feat: Clarify character's understanding of explicit topics in roleplay context 2025-05-14 19:30:22 -06:00
31345f20b2
feat: Refine roleplay character description for clarity and consistency 2025-05-14 19:26:23 -06:00
8a2d68ed6f
feat: Enhance exception handling for openrouterkey endpoint with improved path processing and logging 2025-05-14 17:43:24 -06:00
161707f71d
feat: Improve exception handling for openrouterkey endpoint with enhanced path checks and logging 2025-05-14 17:41:29 -06:00
f5cfa7a00a
feat: Enhance exception handling for openrouterkey endpoint with case-insensitive path checks 2025-05-14 17:38:21 -06:00
fede9ae99e
feat: Rename openrouter_key endpoint to openrouterkey for consistency 2025-05-14 17:33:30 -06:00
e720d14853
123 2025-05-14 17:32:17 -06:00
d53808268d
feat: Rename endpoint to /openrouter_key and update function name for consistency 2025-05-14 17:23:54 -06:00
1a67e2bd9d
feat: Implement private endpoint for retrieving OpenRouter API key with authorization check 2025-05-14 17:18:01 -06:00
c06a81503f
feat: Enhance route logging to include mounted apps and unknown route types for better debugging 2025-05-14 17:16:12 -06:00
7799588aaa
feat: Add logging for available routes in the main app for debugging purposes 2025-05-14 17:14:05 -06:00
65ccfeba91
feat: Change endpoint to GET for retrieving OpenRouter API key with basic security check 2025-05-14 17:10:12 -06:00
eef8800716
feat: Add private endpoint to retrieve OpenRouter API key with authorization check 2025-05-14 17:07:34 -06:00
5b901ac9bf
Refine Teto's personality description
Adjust the description of Teto's naivety to allow for some surface-level knowledge of sexual topics, while still emphasizing her core
2025-05-14 11:18:50 -06:00
b6e3bfc564
feat: Enhance image attachment handling by encoding images to base64 and improving error logging 2025-05-14 11:05:28 -06:00
afff587ee1
feat: Add debug prints for detected stickers and custom emojis in TetoCog 2025-05-14 10:49:56 -06:00
a2cfaceb8d
feat: Refactor message logging and add debug print for image attachments 2025-05-14 10:46:50 -06:00
8cc41ae3c7
feat: Update default AI model to Google Gemini 2.5 2025-05-14 10:39:47 -06:00
1a4a452ed5
feat: Enhance user content handling to include messages for attached images, stickers, and custom emojis 2025-05-14 10:33:58 -06:00
3860805aab
feat: Enhance user content handling in AI interactions to support images, stickers, and emojis 2025-05-14 10:32:04 -06:00
e35559c20d
fucking stupid shit 2025-05-14 10:26:23 -06:00
c2b935076b
feat: Implement modals for user moderation actions in context menus 2025-05-14 10:11:14 -06:00
c251fafd73
feat: Add context menu commands for moderation actions
Adds context menu commands for banning, kicking, timing out, and removing timeout for users directly from their profile. This provides a more convenient way to perform common moderation tasks.
2025-05-14 10:08:53 -06:00
10c05d6fa3
Refactor: Enhance error handling in Teto AI reply method for API responses 2025-05-14 09:27:55 -06:00
c54b5380ff
Use keyword argument for AI reply messages
Explicitly name the `messages` parameter when calling `_teto_reply_ai_with_messages`. This improves code readability and makes the call's intent clearer.
2025-05-14 09:24:47 -06:00
8c710cf2cb
Refactor: Revise Teto AI reply methods for improved clarity and logging 2025-05-14 09:20:28 -06:00
f8aa912911
Refactor: Update Teto AI reply methods to use instance variables for model and endpoint 2025-05-14 09:17:18 -06:00
766b318bf7
123 2025-05-14 09:13:49 -06:00
e60f2d1ef0
Refactor Teto AI prompts for improved character consistency
Updates the system prompts for both the standard and roleplay Teto cogs to better define her personality, especially regarding her naivety and reactions to explicit content, and to add more character-specific details. This aims to improve the consistency and believability of Teto's responses.
2025-05-14 09:10:06 -06:00
790ca65cc3
Feat: Clarify Teto's physical characteristics in AI prompt
Adds a sentence to the AI prompt for the Teto roleplay cog to clarify that Teto has human-like body parts, even if not human. This helps the AI maintain a more consistent and accurate persona during roleplay.
2025-05-13 20:04:23 -06:00
d1fea28edb
Refactor: Remove "not smart" from Teto's system prompt
This change removes the instruction for Teto to be "not very smart" from her system prompt. This allows for more flexibility in her responses and prevents her from being unnecessarily limited in understanding complex concepts.
2025-05-13 20:03:13 -06:00
0dc11c0674
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.
2025-05-13 17:41:45 -06:00
20e39baf20
feat: Integrate OpenRouter API and update AI model
Migrate AI API endpoint from local server to OpenRouter.
Update the default AI model to `google/gemini-2.5-flash-preview` for improved performance and capabilities.
Add authorization header for OpenRouter API calls.
Introduce a new cog `roleplay_teto_cog.py` (untracked) for potential future roleplay features.
2025-05-13 17:39:43 -06:00
2ca6b2536f
feat: Add commands to configure Teto AI
Adds slash commands to set the AI model and API endpoint for Teto. Also includes a command to clear the chat history for a channel.

Updates the system prompt to emphasize Teto's cluelessness in sexual situations.
2025-05-13 17:29:56 -06:00
496fead57c
Refine Teto AI personality with innocence and naivety
Adds instructions to the Teto AI system prompt to emphasize her innocent and naive personality, even when discussing sensitive topics. Clarifies that being uncensored doesn't mean she should always be sexual and that she is not very smart.
2025-05-13 17:25:55 -06:00
999e96b82f
Fix: Improve system prompt wording for Teto cog
Correct a grammatical error in the system prompt for the Teto cog to improve clarity and flow. Changed "more like innocent and naive" to "more innocent and naive".
2025-05-13 17:23:08 -06:00
6fac60eda9
yurp 2025-05-13 14:36:08 -06:00
656eeca7e7
Refines AI personality prompt
Updates the AI's system prompt to use "etc." for brevity in listing example content.
This change aims to make the prompt slightly less explicit while retaining the intended permissive nature of the AI's persona.
2025-05-13 14:16:31 -06:00
04232898b4
838383 2025-05-13 14:04:58 -06:00
b4872bd681
fkrforfko 2025-05-13 13:31:08 -06:00
d9f1cac4ce
Switch AI API endpoint to local server and disable auth header
Change chat completion URL from OpenRouter to local server for development/testing purposes. Comment out Authorization header as local server does not require authentication.
2025-05-13 13:18:22 -06:00
f369db91c2
aaaa 2025-05-13 12:36:16 -06:00
c1379c9bec
Remove instruction for AI to interpret user intent in character prompt
Delete guideline for AI to always understand user intent, slang, and context to better align responses with the intended naive and innocent personality.
2025-05-13 12:33:36 -06:00
b51a77d1c1
Refactor TetoCog to track only AI interactions in memory
Remove retrieval of recent message history from channel and update logic to keep only actual AI interactions in memory, simplifying conversation tracking.
2025-05-13 12:32:43 -06:00
e49a6281bf
Clarify AI should interpret user intent and context in character
Update system prompt to instruct AI to understand slang, innuendo, and context, ensuring responses fit the character's personality. This improves conversational relevance and character consistency.
2025-05-13 12:30:24 -06:00