[PR #60] [MERGED] fix: import extracted JanitorAI definitions into character fields #4429

Closed
opened 2026-10-22 04:07:31 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/60
Author: @LukaTheHero
Created: 4/5/2026
Status: ✅ Merged
Merged: 4/5/2026
Merged by: @LukaTheHero

Base: main ← Head: feature/janitor-extract-hidden-definitions


📝 Commits (2)

  • e263745 feat: extract hidden definitions from JanitorAI characters
  • b1ae317 Merge branch 'SpicyMarinara:main' into feature/janitor-extract-hidden-definitions

📊 Changes

1 file changed (+9 additions, -2 deletions)

View changed files

📝 packages/client/src/components/bot-browser/BotBrowserView.tsx (+9 -2)

📄 Description

What this fixes

After extracting hidden definitions from a JanitorAI character, clicking Import would create the character with empty fields. Now the extracted personality, scenario, first message, and example dialogs correctly populate the imported character.

Changes

  • Pass extracted definitions back to parent via onDetailUpdate callback so handleImport uses them
  • Fix field mapping so extracted description (personality text) maps to the character's description field

File changed

  • packages/client/src/components/bot-browser/BotBrowserView.tsx

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/60 **Author:** [@LukaTheHero](https://github.com/LukaTheHero) **Created:** 4/5/2026 **Status:** ✅ Merged **Merged:** 4/5/2026 **Merged by:** [@LukaTheHero](https://github.com/LukaTheHero) **Base:** `main` ← **Head:** `feature/janitor-extract-hidden-definitions` --- ### 📝 Commits (2) - [`e263745`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e2637456b7dc94e0a4213359daf4bedd0e55f4c7) feat: extract hidden definitions from JanitorAI characters - [`b1ae317`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b1ae317003e5ea3a3fa6867b4ff9d849d7156337) Merge branch 'SpicyMarinara:main' into feature/janitor-extract-hidden-definitions ### 📊 Changes **1 file changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/bot-browser/BotBrowserView.tsx` (+9 -2) </details> ### 📄 Description ## What this fixes After extracting hidden definitions from a JanitorAI character, clicking Import would create the character with empty fields. Now the extracted personality, scenario, first message, and example dialogs correctly populate the imported character. ## Changes - Pass extracted definitions back to parent via `onDetailUpdate` callback so `handleImport` uses them - Fix field mapping so extracted `description` (personality text) maps to the character's description field ## File changed - `packages/client/src/components/bot-browser/BotBrowserView.tsx` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:07:31 +07:00
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#4429
No description provided.