1093 Commits

Author SHA1 Message Date
a818e30702
feat: Add EvalCog to the bot's cog loading sequence 2025-05-30 15:59:58 -06:00
78af2a484f
fix: Remove duplicate function call in EvalCog's _eval method 2025-05-30 15:52:41 -06:00
a89671fa42
fix: Add context variable to dynamically compiled function in EvalCog 2025-05-30 15:46:04 -06:00
63bdc18135
fix: Replace io.redirect_stdout with contextlib.redirect_stdout for stdout redirection 2025-05-30 15:42:44 -06:00
b503db75ec
gorkal 2025-05-30 15:40:20 -06:00
2c10586b73
1 2025-05-30 15:35:38 -06:00
9f06518695
niag 2025-05-30 15:34:58 -06:00
ece7f5f4f0
fix: Add type hint for bot parameter in setup function in EvalCog and TimerCog 2025-05-30 15:34:11 -06:00
31fd6e5aa7
feat: Add EvalCog for evaluating Python code snippets with error handling 2025-05-30 15:31:17 -06:00
64ce0f629f
feat: Implement timer functionality with slash command support and persistent storage 2025-05-30 15:28:19 -06:00
c8870c6b7f
fix: Update ephemeral response deferral in setup_commands to improve visibility 2025-05-30 13:23:05 -06:00
8a67e3b48b
fix: Remove unnecessary ephemeral response deferral in model change commands 2025-05-30 13:21:26 -06:00
19f7d658fc
fix: Update ephemeral flag in AI model change responses to improve visibility 2025-05-30 13:20:06 -06:00
c374a1a835
fix: Handle missing AVAILABLE_AI_MODELS import and provide fallback options 2025-05-30 13:18:57 -06:00
583a19ed6e
fix: Refactor imports in commands.py for clarity and organization 2025-05-30 13:12:02 -06:00
e6f03abf6d
feat: Add dynamic AI model switching commands and update model configuration 2025-05-30 13:08:23 -06:00
e0c1b98182
fix: Update tag transformation instructions for additional specific cases 2025-05-29 23:02:56 -06:00
64c5798b02
fix: Improve tag transformation instructions for handling exclusions and specific cases 2025-05-29 22:58:57 -06:00
3687eb2449
fix: Clarify tag transformation instructions for ambiguous character names 2025-05-29 22:53:38 -06:00
a8929c3944
fix: Enhance tag transformation instructions for clarity and specificity 2025-05-29 22:50:16 -06:00
c8b4277767
fix: Update command logic to remove unnecessary deferral handling in Rule34Cog 2025-05-29 22:44:54 -06:00
ed3e564739
feat: Add debug command for testing AI tag transformation 2025-05-29 22:42:16 -06:00
5a618f80a0
feat: Integrate Google GenAI for content moderation
Integrates Google Generative AI (Vertex AI backend) into the `Rule34Cog` to enable content moderation.

- Adds `google.genai` imports and initializes the GenAI client.
- Defines `STANDARD_SAFETY_SETTINGS` with all thresholds set to `BLOCK_NONE` as requested.
- Includes a helper function `_get_response_text` for safely extracting text from GenAI responses.
- Sets up the GenAI client using `PROJECT_ID` and `LOCATION` from `gurt.config`.
2025-05-29 22:41:14 -06:00
4d84ee7f6f
fix: Adjust proactive engagement thresholds and personality settings for improved bot interaction 2025-05-29 14:47:51 -06:00
4876da94a5
fix: Clarify usage of custom stickers in prompt by specifying correct referencing method 2025-05-29 12:27:50 -06:00
408af0f5d2
fix: Clarify usage of custom stickers in prompt by specifying rendering behavior 2025-05-29 12:26:01 -06:00
dcb8dc1f1d
fix: Simplify custom emoji and sticker listings in prompt and remove age restriction notes 2025-05-29 12:23:20 -06:00
1de4318579
fix: Update custom emoji and sticker notes to clarify age restrictions and CSAM disclaimer 2025-05-29 12:18:30 -06:00
d53fcc7a97
fix: Update custom emoji and sticker descriptions to include age restriction notice 2025-05-29 12:17:19 -06:00
30d51bc03a
feat: Enhance emoji and sticker descriptions in prompt with detailed information 2025-05-29 12:05:39 -06:00
e08d78d44a
fix: Correct MIME type assignment in image description generation 2025-05-29 11:57:12 -06:00
d7e64fdf4b
feat: Enhance image MIME type detection for improved compatibility 2025-05-29 11:56:10 -06:00
850e933b51
fix: Improve AI filtering message for emoji and sticker descriptions 2025-05-29 11:53:01 -06:00
f07d569548
fix: Update emoji and sticker description fallback to indicate potential AI filtering 2025-05-29 11:48:38 -06:00
0858185456
feat: Support GIF format in sticker description generation 2025-05-29 11:46:40 -06:00
8856ff17e5
feat: Extend sticker description generation to support GIF format 2025-05-29 11:43:53 -06:00
fd13c35afd
feat: Use specific model for emoji/sticker descriptions
Introduces `EMOJI_STICKER_DESCRIPTION_MODEL` to `config.py` and uses it in `generate_image_description` for "emoji" and "sticker" item types. This ensures a dedicated model is used for these specific image description tasks, improving accuracy or efficiency.
2025-05-29 11:41:36 -06:00
4ec866adb6
feat: Add GIF optimizer cog
This commit introduces a new cog for optimizing GIFs.
2025-05-29 11:33:54 -06:00
a210776635
fix: Remove rate limiting for emoji and sticker processing to enhance parallel execution speed 2025-05-29 11:24:41 -06:00
d7341b3ec2
feat: Enhance emoji and sticker update listeners to process changes more efficiently 2025-05-29 11:23:20 -06:00
aadfac5045
fix: Update image description prompt to allow explicit content descriptions 2025-05-29 11:17:34 -06:00
19d03a204d
feat: Implement image description generation for emojis and stickers, add listeners for guild asset updates 2025-05-29 11:08:16 -06:00
f7a1a2134e
feat: Add command to reset Gurt's personality and interests to baseline for owner 2025-05-29 10:40:32 -06:00
dddabd0b42
fix: Adjust baseline personality configuration for chattiness and patience levels 2025-05-29 10:38:37 -06:00
7bbd21af1d
feat: Add level-up notification settings and toggle command for users 2025-05-29 10:35:45 -06:00
02f2117acc
fix: Adjust chattiness level in baseline personality configuration 2025-05-28 23:56:52 -06:00
308f893df6
fix: Add helper function to normalize finish_reason in TetoCog and update related logic 2025-05-28 23:53:41 -06:00
55af27a133
fix: Update system prompt handling to conditionally include shell command and web search capabilities 2025-05-28 23:48:16 -06:00
c55113a4ca
fix: Refactor tool call processing in TetoCog to improve error handling and streamline execution logic 2025-05-28 23:46:27 -06:00
72b0ce1a4d
fix: Add error handling for tool call processing in TetoCog 2025-05-28 23:33:51 -06:00