[GH-ISSUE #3319] [Issue]: Bot browser avatar images fail to load across multiple providers #1798

Closed
opened 2026-10-21 05:42:48 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @Lamboozled on GitHub (Jul 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3319

Originally assigned to: @SpicyMarinara on GitHub.

Avatar thumbnails fail to load in the bot browser for JannyAI, DataCat, ChubAI, CharacterTavern, Wyvern, and Pygmalion due to several independent bugs in the avatar proxy routes.

Expected behavior

Avatar images load correctly for all providers in the bot browser.

Actual behavior

Images are blank/broken across all affected providers.

Steps to reproduce

  1. Open Marinara Engine
  2. Navigate to the bot browser
  3. Browse any of the affected providers: JannyAI, DataCat, ChubAI, CharacterTavern, Wyvern, Pygmalion
  4. Observe that character avatar thumbnails do not load

Environment

  • Marinara Engine version: 2.1.0
  • Install type: source
  • Browser or app shell: Zen (Firefox-based)

Logs, screenshots, or video

Server logs show:

  • Outbound response exceeded 10485760 bytes (Pygmalion)
  • Outbound response content type is not allowed: (Wyvern — empty Content-Type)
  • Unsupported avatar host (DataCat — CDN migrated to media.datacat.run)

Additional context

Root causes:

  • All providers: fetchAvatarImage uses || instead of && in content-type guard, rejecting images when CDN omits Content-Type header
  • Wyvern: allowedContentTypes in safeFetch rejects before buffer is read; imagedelivery.net omits Content-Type
  • Pygmalion: 10MB cap and 15s timeout too low for large card PNGs with embedded lore
  • DataCat: host allowlist only contains ella.janitorai.com; CDN migrated to media.datacat.run
  • CharacterTavern: wrong CDN host (cards.character-tavern.com Cloudflare-blocked vs actual ct-cards.storage.character-tavern.com)

A fix PR is ready to link.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Lamboozled on GitHub (Jul 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3319 Originally assigned to: @SpicyMarinara on GitHub. Avatar thumbnails fail to load in the bot browser for JannyAI, DataCat, ChubAI, CharacterTavern, Wyvern, and Pygmalion due to several independent bugs in the avatar proxy routes. Expected behavior Avatar images load correctly for all providers in the bot browser. Actual behavior Images are blank/broken across all affected providers. Steps to reproduce 1. Open Marinara Engine 2. Navigate to the bot browser 3. Browse any of the affected providers: JannyAI, DataCat, ChubAI, CharacterTavern, Wyvern, Pygmalion 4. Observe that character avatar thumbnails do not load Environment - Marinara Engine version: 2.1.0 - Install type: source - Browser or app shell: Zen (Firefox-based) Logs, screenshots, or video Server logs show: - Outbound response exceeded 10485760 bytes (Pygmalion) - Outbound response content type is not allowed: (Wyvern — empty Content-Type) - Unsupported avatar host (DataCat — CDN migrated to media.datacat.run) Additional context Root causes: - All providers: fetchAvatarImage uses || instead of && in content-type guard, rejecting images when CDN omits Content-Type header - Wyvern: allowedContentTypes in safeFetch rejects before buffer is read; imagedelivery.net omits Content-Type - Pygmalion: 10MB cap and 15s timeout too low for large card PNGs with embedded lore - DataCat: host allowlist only contains ella.janitorai.com; CDN migrated to media.datacat.run - CharacterTavern: wrong CDN host (cards.character-tavern.com Cloudflare-blocked vs actual ct-cards.storage.character-tavern.com) A fix PR is ready to link. Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 7, 2026):

Thank you for your hard work, checking the PR!

<!-- gh-comment-id:4902119471 --> @SpicyMarinara commented on GitHub (Jul 7, 2026): Thank you for your hard work, checking the PR!
Author
Owner

@SpicyMarinara commented on GitHub (Jul 7, 2026):

Codex is tracking this in the v2.1.1 issue sweep and will inspect existing PR #3320 first to avoid duplicating contributor work.

<!-- gh-comment-id:4902333417 --> @SpicyMarinara commented on GitHub (Jul 7, 2026): Codex is tracking this in the v2.1.1 issue sweep and will inspect existing PR #3320 first to avoid duplicating contributor work.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 7, 2026):

Fixed in PR #3331 and merged to staging for v2.1.1. Thank you for the report.

<!-- gh-comment-id:4902883416 --> @SpicyMarinara commented on GitHub (Jul 7, 2026): Fixed in PR #3331 and merged to staging for v2.1.1. Thank you for the report.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1798
No description provided.