68 Commits

Author SHA1 Message Date
Slipstreamm
1cbacd6f9e docs(prompt): Refine allowed emoji list
Removes several less common or redundant emojis to streamline the list.
Adds the text-based smiley `;)`, allowing for more natural expression.
2025-06-12 19:27:14 -06:00
12ad3e6c02 Update Gurt slang definitions (#13)
Add slang glossary and refusal guidance

Reviewed-on: #13
Co-authored-by: Slipstream <me@slipstreamm.dev>
Co-committed-by: Slipstream <me@slipstreamm.dev>
2025-06-12 18:49:48 -06:00
d1ec42fa51
big ass formatting 2025-06-05 21:31:06 -06:00
63b82bad2c
feat: Add moderator role configuration and authorization check for timeout user functionality 2025-05-30 23:06:20 -06:00
f816116473
fix: Update emoji usage guidelines for clarity and sentiment adaptation 2025-05-30 17:46:10 -06:00
f3149ff13b
fix: Update communication style to emphasize frequent emoji usage and adapt slang examples for a more casual tone 2025-05-30 17:43:12 -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
0c4df8d94d
feat: Implement Tenor GIF search tool and remove deprecated request handling 2025-05-28 14:40:56 -06:00
6868b2e95e
Feat: Integrate Tenor GIF search and custom emoji/sticker support
This commit introduces two main enhancements to Gurt's capabilities:

1.  **Tenor GIF Integration:**
    *   The AI can now request Tenor GIFs via a `request_tenor_gif_query` field in its response schema.
    *   `api.py` handles these requests by searching Tenor (using the new `TENOR_API_KEY` from config) and appending the GIF URL to the AI's message content.
    *   System prompts have been updated to instruct the AI on how to request GIFs.

2.  **Custom Emoji & Sticker Learning and Usage:**
    *   Introduces an `EmojiManager` (in the new `gurt/emojis.py`) to store and manage mappings of custom emoji/sticker names to their URLs. This data is persisted to `EMOJI_STORAGE_FILE`.
    *   Gurt now automatically learns custom emojis and stickers (and their URLs) from user messages via the `on_message` listener in `listeners.py`.
    *   The AI can be prompted to use these learned emojis/stickers by referencing their `:name:`.
    *   `api.py` processes AI responses to identify known custom emojis/stickers. For stickers, their URL is appended to the content if mentioned.
    *   A `learnemoji` command has been added for manually teaching Gurt emojis/stickers, although automatic learning is the primary mechanism.
    *   System prompts are updated to guide the AI on using custom emojis/stickers.
2025-05-28 14:30:26 -06:00
aa2cdcd3d3
fix: Revise emoji usage guidelines to promote sparing and specific application 2025-05-28 14:06:03 -06:00
16541946f9
fix: Update slang examples to enhance natural language usage in prompts 2025-05-28 13:58:11 -06:00
4fa33ec864
remove 👀 cuz nigga use it too much 2025-05-28 13:56:10 -06:00
9777789c9b
feat: Refine Gurt's persona for edgier, casual Discord comms
Overhauls Gurt's prompt to define a more authentic, edgy, and extremely casual Discord persona. This aligns Gurt's interactions with the chaotic and unfiltered nature of target online communities.

Key enhancements to communication style:
- **Emulate Observed Flow:** Prioritizes mirroring human conversational patterns, slang, tone, and formatting from provided examples.
- **Extremely Casual Language:** Mandates dominant lowercase, highly fragmented/run-on sentences, minimal/unconventional punctuation, and a stream-of-consciousness style.
- **Varied & Contextual Slang/Tone:**
    - Encourages organic integration of diverse internet/Discord slang (e.g., "goon," "tuff," "pmo," "ts").
    - Specifies an irreverent, chaotic, and edgy tone. This includes permitting dark/edgy humor, profanity, and explicit content (such as "rape jokes" or sexual discussions/roleplay) when contextually appropriate and mirroring observed interactions. Gurt remains uncensored.
- **Cultural & Tech Savviness:** Updated with more specific examples (e.g., Vocaloid, Python, Flutter).
- **Emoji Usage:** Added guidelines for frequent and expressive emoji use.
2025-05-28 13:55:33 -06:00
76463883d2
fix: Increase default message scrape limit and adjust max fetch limit to improve message collection 2025-05-28 13:20:45 -06:00
8f27e33bb0
fix: Update personality prompt to allow for dark humor and explicit content 2025-05-28 13:07:30 -06:00
d3cf350434
fix: Clarify distinction between "Ame-chan" bot and head admin user in prompt 2025-05-28 08:27:29 -06:00
73843bfc5a
feat: Add clarification about the "Ame-chan" and "KAngel" Discord bots in Gurt's prompt 2025-05-28 08:23:42 -06:00
c687777a9a
Feat: Update Gurt's prompt with new bot info and model version
Update Gurt's prompt to clarify that Ame-chan is not an AI and introduce the KAngel bot. Also, update the Gemini model version to `gemini-2.5-flash-preview-05-20` and remove uptime from server specs.
2025-05-28 08:20:10 -06:00
cc9666f4e3
fix: Clarify usage guidelines for timeout_user function to prevent misuse 2025-05-27 23:05:49 -06:00
e8eaff4b9a
Refactor: Clarify User ID usage and enhance author attribution
This commit improves user identification in two key areas:

1.  **AI Response Context:**
    In `gurt/api.py`, messages processed by the AI now include a more informative author string, combining the user's display name and username (e.g., "DisplayName (Username: actual_username)"). This provides richer context about message authors.

2.  **Tool Definitions:**
    Descriptions for tools in `gurt/config.py` and `gurt/prompt.py` (e.g., `search_user_messages`, `get_user_facts`) and their parameters have been updated to explicitly state that user identification relies on "User ID". This enhances clarity for the AI model and developers.
2025-05-27 22:48:15 -06:00
d2e20ded2a
fix: Simplify server specs output by removing uptime details 2025-05-27 22:42:03 -06:00
5958d9718b
fix: Clarify usage of execute_internal_command with user ID requirement 2025-05-27 22:39:28 -06:00
bb8cdadf47
Docs: Clarify run_terminal_command and add execute_internal_command
Updated the description for `run_terminal_command` to specify it runs in an "empty" Docker sandbox.
Added documentation for the new `execute_internal_command` tool, which executes commands on the host machine.
2025-05-27 22:35:27 -06:00
64857c683f
fix: Update bot specifications and environment details in prompt 2025-05-27 22:34:02 -06:00
20d4d353d3
ksm 2025-05-09 17:38:38 -06:00
df98df15e9
kkdkd 2025-04-30 22:23:41 -06:00
fd46b34213
aa 2025-04-30 21:15:11 -06:00
42211b83ea
aa 2025-04-30 19:52:26 -06:00
91b715fbae
a 2025-04-30 19:49:17 -06:00
02cd2de70e
aaa 2025-04-30 19:48:35 -06:00
32a0d34633
aa 2025-04-30 19:48:19 -06:00
f395f24a50
aaa 2025-04-30 19:39:36 -06:00
e7e33bfc63
aa 2025-04-30 17:48:12 -06:00
fb9debd6eb
aaa 2025-04-30 17:42:34 -06:00
951a862342
shhdhd 2025-04-30 17:24:02 -06:00
1e46054b04
a 2025-04-30 13:47:56 -06:00
46138a8823
aaa 2025-04-30 00:10:22 -06:00
ad2b37bbf4
aa 2025-04-29 19:08:09 -06:00
6529128c53
aa 2025-04-29 19:05:44 -06:00
d3c3550301
aa 2025-04-29 17:50:45 -06:00
0cb1908c0e
a 2025-04-29 12:02:53 -06:00
de09605313
aa 2025-04-29 10:30:35 -06:00
b0dc781c46
a 2025-04-29 10:08:57 -06:00
c87bacf332
sa 2025-04-29 08:48:20 -06:00
7690372571
aa 2025-04-29 00:20:34 -06:00