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
4308aec6c1
fix: Update model path in TetoCog for Vertex AI content generation
2025-05-28 23:31:02 -06:00
d17b224975
fix: Simplify model path in TetoCog for Vertex AI content generation
2025-05-28 23:26:16 -06:00
04bbc056d2
fix: Enhance generation configuration by adding system_instruction, tools, and tool_config
2025-05-28 23:24:58 -06:00
2db6b0f850
fix: Update generation configuration to include system_instruction for model content generation
2025-05-28 23:24:02 -06:00
8e6b9b6270
fix: Update import path for SafetySetting in TetoCog
2025-05-28 23:22:45 -06:00
03825d0f62
Fix: Use genai.types.SafetySetting
for safety settings
...
This commit updates the `STANDARD_SAFETY_SETTINGS` to explicitly use `genai.types.SafetySetting` instead of just `types.SafetySetting`. This ensures correct type referencing for the safety settings in the `teto_cog.py` file.
2025-05-28 23:21:39 -06:00
0ee02ef854
fix: Update default AI model to gemini-2.5-flash-preview-05-20 for Vertex AI
2025-05-28 23:20:05 -06:00
9e4ac54949
Feat: Migrate TetoCog to Google Vertex AI backend
...
This commit transitions TetoCog from OpenRouter to Google Generative AI,
utilizing the Vertex AI backend.
Key changes include:
- Integration of Google GenAI SDK with project-specific configuration.
- Definition of `STANDARD_SAFETY_SETTINGS`, disabling all content blocking
(Hate Speech, Dangerous Content, Sexually Explicit, Harassment).
- Addition of `_get_response_text` helper function to safely extract
text content from `GenerateContentResponse` objects, with detailed logging.
- Removal of OpenRouter API endpoint, model configuration, and related logic.
- Removal of previous direct shell command execution logic.
2025-05-28 23:18:25 -06:00
07130c6e6e
fix: Update system prompt to clarify character context regarding sexual activities
2025-05-28 23:06:55 -06:00
369d22633d
fix: Update system prompt to clarify character context and usage of terminal commands
2025-05-28 23:06:34 -06:00