From 0a078d733b04af3c1a3e1f3a76dbebd8838c8920 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Mon, 2 Mar 2026 10:55:22 -0500 Subject: [PATCH] update image gen prompt to handle self and me prompts --- main.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 7b3a9e1..9b9a655 100644 --- a/main.py +++ b/main.py @@ -104,7 +104,12 @@ async def doodlebob(ctx, *, message: str): "messages": [ { "role": "system", - "content": "Given the following message, convert it to a detailed image generation prompt that will be passed directly into an image generation model.", + "content": ( + "Given the following message, convert it to a detailed image generation prompt that will be passed directly into an image generation model." + "If told to generate an image of yourself, generate a picture of a rat. If told to generate a picture of 'me', 'myself', or some other self" + " reference, generate a picture of a rat. Only respond with a valid image generation prompt, do not affirm the user or respond to the user's" + " questions." + ), }, {"role": "user", "content": message}, ],