mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1806] [Issue]: SillyTavern bulk import loses preset folders and chat/group metadata #886
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#886
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 @Xelvanis on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1806
Originally assigned to: @cha1latte on GitHub.
Summary
SillyTavern bulk import on the refactor branch appears to have lost several behaviors from the legacy importer: normal ST preset folders are not scanned, imported one-on-one chats are no longer linked/grouped to matching characters, group chats lose member/speaker metadata, and chat message timestamps/display text are not preserved.
This came from static parity review of the import implementation, not a live app repro.
Expected behavior
SillyTavern bulk import should preserve the important import behavior that the legacy importer supported:
TextGen SettingsandOpenAI Settingsfolders.groups/*.jsonandgroup chats/*to preserve group members, speaker-to-character attribution, and roleplay/group mode behavior.send_dateordering andextra.display_textcontent.Actual behavior
Current refactor evidence suggests:
src-tauri/src/commands/storage/imports/bulk_imports.rsscans onlydata_dir.join("presets")for presets, so common ST preset folders can be missed.import_st_chat_textwithout the legacy name/file character map,branchName, or sharedgroupIdbehavior.group chatsdirectly and setsmembersto an empty array, then imports those files like plain chats.mes/contentand role fields, but does not appear to preserve STsend_dateorextra.display_text.Steps to reproduce
src-tauri/src/commands/storage/imports/bulk_imports.rsin the refactor branch.TextGen SettingsandOpenAI Settings.TextGen Settings/OpenAI Settings, one-on-one chats under character folders, and group chats withgroups/*.jsonmetadata.Impact area
Environment
84f40efdLogs, screenshots, or video
No logs or screenshots. Static code evidence:
src-tauri/src/commands/storage/imports/bulk_imports.rssrc-tauri/src/commands/storage/imports/bulk_imports.rssrc/shared/api/import-api.tspackages/server/src/services/import/st-bulk.importer.tsandpackages/server/src/services/import/st-chat.importer.tsRegression notes
Legacy TypeScript importer scanned
TextGen SettingsandOpenAI Settings, built character name/file maps for chat linking, grouped imported branches, read ST group metadata, passed speaker maps for group chats, and preserved transcript timestamps/display text.The Rust refactor also improves some safety areas, so this should not be a blind port: current rollback/path-containment behavior should be preserved.
Additional context
Suggested queue:
send_dateandextra.display_textwhen importing ST JSONL transcripts.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (Jun 1, 2026):
fixed in #1840