mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2002] [Issue]: SillyTavern JSONL import drops hidden messages and loses chat avatars #981
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#981
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Promansis on GitHub (Jun 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2002
Originally assigned to: @cha1latte on GitHub.
Summary
SillyTavern JSONL chat import currently skips rows marked
is_system, which drops hidden/system transcript messages instead of preserving them as Marinara hidden messages. Name-only SillyTavern rows also do not reliably link imported assistant messages to matching character records, so character avatars can be missing in the imported chat.Expected behavior
When importing SillyTavern JSONL chat history:
extra.hiddenFromAI/extra.hiddenFromAi, while remaining available in the transcript/history UI as hidden messages.name,character_name, orextra.nameshould resolve to matching imported/existing Marinara character IDs when possible so the chat can render the correct character avatar.Actual behavior
The importer excludes rows where
is_systemis true before both the importability check and message creation. It also has an explicit test expectation that SillyTaverncharacter_namealone does not link transcript rows to character records, which can leave imported messages without character IDs and therefore without character avatars in chat.Steps to reproduce
.jsonlchat containing at least one row withis_system: trueand text inmes.character_nameorname, and make sure the corresponding character exists or is imported in the same bulk import.Impact area
Environment
mainas inspected on 2026-06-03Logs, screenshots, or video
No screenshot attached. Source evidence from
src-tauri/src/commands/storage/imports/bulk_imports.rs:import_st_chat_textignores rows withis_system == truewhen checking for importable messages.continues pastis_system == truerows during message creation.extra.hiddenFromAI/extra.hiddenFromAifor those skipped rows.import_st_chat_text_does_not_link_character_name_only_rowscurrently asserts that a row with onlycharacter_namehas nocharacterId, which can explain missing avatars in imported transcripts.Related historical context: closed #1524 / merged #1635 covered JSONL role and character ID preservation, but this current report is about SillyTavern hidden/system rows and SillyTavern name-only avatar linkage in the current import path.
Regression notes
Not confirmed as a regression. The behavior appears present in the current SillyTavern import implementation.
Additional context
Suggested repair:
extra.is_systempreservation and avatar/characterId resolution during SillyTavern JSONL import.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: