zhaobenny / bz-cogs

Interesting cogs for Red Bot
MIT License
23 stars 14 forks source link

Use image vision on reply #30

Closed hollowstrawberry closed 8 months ago

hollowstrawberry commented 8 months ago

Makes it so that if you reply to a message containing an image, it will use vision.

That way you can chain further questions about an image without having to send it again.

hollowstrawberry commented 8 months ago

You removed a check, what will happen when both the original message and the replied message have an image?

(Also, the parentheses you added on the if logic don't do anything)

zhaobenny commented 8 months ago

You removed a check, what will happen when both the original message and the replied message have an image?

Both images would just convert to the format for an LLM to use.

(Also, the parentheses you added on the if logic don't do anything)

Yeah, I just do that out of habit to separate different cases so it's easier for me to read.