Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Drawing Image on Chat #89

Closed
Eikosa opened this issue Jun 16, 2023 · 4 comments
Closed

Drawing Image on Chat #89

Eikosa opened this issue Jun 16, 2023 · 4 comments

Comments

@Eikosa
Copy link
Contributor

Eikosa commented Jun 16, 2023

The problem

Prompt: Draw a cat like Louis Wain
If this prompt is typed, bing generates an image so the bot goes into a bug and appears to be typing forever.

Version of python

latest

Version of EdgeGPT-Telegram-Bot

latest

Operating system running EdgeGPT-Telegram-Bot

latest

Running on your machine? Running on docker?

latest

Additional information & file uploads

No response

@scmanjarrez
Copy link
Owner

I need logs

@scmanjarrez
Copy link
Owner

Can't replicate
image

@Eikosa
Copy link
Contributor Author

Eikosa commented Jun 16, 2023

Please type directly without using commands. So the bot will deal with single message forever

@scmanjarrez
Copy link
Owner

scmanjarrez commented Jun 16, 2023

Currently, image generation is handled by another library (BingImageCreator), so you have to guide the bot to do what you want. By default, messages without /image command will query Bing using EdgeGPT (which doesn't handle inline images). If it generates an exception because it doesn't expect that response, the bot will crash due to that exception, nothing I can't do on my side (aside from catching the exception and telling you about the error)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants