update image gen prompt to handle self and me prompts

This commit is contained in:
2026-03-02 10:55:22 -05:00
parent 49d331d2c7
commit 0a078d733b

View File

@@ -104,7 +104,12 @@ async def doodlebob(ctx, *, message: str):
"messages": [ "messages": [
{ {
"role": "system", "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}, {"role": "user", "content": message},
], ],