Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Generated images don't show up in new agents chat view #4669

Closed
1 task done
thingersoft opened this issue Nov 8, 2024 · 4 comments · Fixed by #4860
Closed
1 task done

[Bug]: Generated images don't show up in new agents chat view #4669

thingersoft opened this issue Nov 8, 2024 · 4 comments · Fixed by #4860
Labels
🐛 bug Something isn't working

Comments

@thingersoft
Copy link
Contributor

What happened?

Images generated by agents (experimental) can't be seen in chat view.

Steps to Reproduce

  1. configure an agent with DALL-E-3 tool enabled
  2. ask for image generation

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@thingersoft thingersoft added the 🐛 bug Something isn't working label Nov 8, 2024
@mootfrost
Copy link

As a workaround you can add this to agent's system prompt: Return all images with https://<domain>/images prefix , not with https://your-image-link.com/images/

@thingersoft
Copy link
Contributor Author

As a workaround you can add this to agent's system prompt: Return all images with https://<domain>/images prefix , not with https://your-image-link.com/images/

@mootfrost
Sometimes the agent returns a link rather than embedding the image into the chat but all in all the workaround seems to work for now, thank you.

@danny-avila
Copy link
Owner

This will be fixed soon

@leondape
Copy link
Contributor

@danny-avila can you shortly outline how you solved agent image handling? I am trying to fix it for a future flux plugin: in #5410 but can only do it over the prompt engineering workaround. It would be very helpful if you could elaborate on that so that I can transfer that to flux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants