Skip to content

[Bug]: Agent avatars not displaying in Pinned Agents sidebar (R2 Storage) #11161

@RedwindA

Description

@RedwindA

What happened?

Agent avatars fail to load in the "Pinned Agents" sidebar (left panel) and show as broken/empty icons. However, the exact same avatars display correctly within the Agent Buider.

When inspecting the network tab, the requests for these avatar images from the sidebar are returning NS_BINDING_ABORTED. It seems like the image requests are being triggered but cancelled or failing specifically in the sidebar context, while the R2 signed URLs work fine in the editor view.

Version Information

ghcr.io/danny-avila/lc-dev latest 5aa0de7f3c33 9 hours ago 1.67GB

Steps to Reproduce

  1. Configure LibreChat to use Cloudflare R2 for image storage.
  2. Create an Agent and upload an avatar image in the Agent Builder.
  3. Pin the Agent so it appears in the left-hand sidebar.
  4. Observe the sidebar: the avatar icon is missing or broken.
  5. Open the Agent Builder for the same agent: the avatar displays correctly.

What browsers are you seeing the problem on?

Firefox and Edge

Relevant log output

- GET https://<R2_BUCKET_ID>.r2.cloudflarestorage.com/images/658fdd4baf8bf540fff54c3e/agent-agent JJutpEqB3WxCjHZnmHDEU-avatar-1766860608142.png?X-Amz-Alg... NS BINDING ABORTED

- GET https://<R2_BUCKET_ID>.r2.cloudflarestorage.com/images/658fdd4baf8bf540fff54c3e/agent-agent Bmw9s11A10v2DuZCgTw-y-avatar-1766860573728.png?X-Amz-Alg... NS BINDING ABORTED

- GET https://<R2_BUCKET_ID>.r2.cloudflarestorage.com/images/658fdd4baf8bf540fff54c3e/agent-agent Wmt9XpmYqprn29jrU2n7h-avatar-1766860417431.png?X-Amz-Alg... NS BINDING ABORTED

Screenshots

Image

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions