[PR #3444] [MERGED] Fix Noodle generation, provider compatibility, and editing regressions #5939

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3444
Author: @SpicyMarinara
Created: 7/10/2026
Status: ✅ Merged
Merged: 7/10/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/emoji-noodle-drama-settings


📝 Commits (5)

  • cb6bd54 Fix lorebook duplication and generation settings
  • 2f3c0a8 Expand emoji pickers to Unicode 17
  • 985fa7c Allow character drama in Noodle prompts
  • 25ef17a Fix Sol JSON output and GLM-5.2 compatibility
  • 8af7be4 Address CodeRabbit review feedback

📊 Changes

26 files changed (+4954 additions, -399 deletions)

View changed files

📝 CHANGELOG.md (+9 -0)
📝 package.json (+3 -1)
📝 packages/client/src/components/chat/ChatInput.tsx (+9 -5)
📝 packages/client/src/components/chat/ConversationInput.tsx (+7 -0)
📝 packages/client/src/components/noodle/NoodleView.tsx (+42 -13)
📝 packages/client/src/components/panels/LorebooksPanel.tsx (+47 -75)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+294 -252)
📝 packages/client/src/components/ui/EmojiPicker.tsx (+33 -4)
📝 packages/client/src/features/chat-settings/sections/ImpersonateSection.tsx (+1 -1)
📝 packages/client/src/hooks/use-noodle.ts (+24 -1)
➕ packages/client/src/lib/emoji-catalog.generated.ts (+3891 -0)
➕ packages/client/src/lib/lorebook-duplicate.ts (+32 -0)
📝 packages/client/src/lib/slash-commands.ts (+5 -0)
📝 packages/client/src/stores/ui.store.ts (+1 -1)
📝 packages/server/src/routes/noodle.routes.ts (+114 -13)
➕ packages/server/src/services/llm/providers/glm-request-compat.ts (+55 -0)
📝 packages/server/src/services/llm/providers/openai.provider.ts (+24 -31)
📝 packages/server/src/services/noodle/noodle-prompt.ts (+1 -0)
➕ packages/server/src/services/noodle/noodle-response-format.ts (+130 -0)
📝 packages/shared/src/constants/model-lists.ts (+2 -1)

...and 6 more files

📄 Description

Why

This brings the pending Noodle, generation-settings, emoji, lorebook, and provider-compatibility fixes together on a fresh branch for staging. It also fixes the two reported GPT-5.6 Sol Noodle failures and makes native Z.AI GLM-5.2 connections use the documented request shape.

Closes #3433.

What changed

  • prevent duplicate lorebook assignments and keep lorebook state synchronized
  • move Quick Replies to General → Input & Editing and execute recognized saved slash commands normally
  • apply image-prompt review to Noodle generations and clarify the global setting tooltip
  • expand standard emoji pickers to the Unicode Emoji 17.0 base catalog, including 🧪
  • explicitly allow in-character conflict and drama in Noodle generation prompts
  • give GPT-5.6 Sol Noodle timeline/profile generation strict JSON schemas and an explicit JSON instruction
  • add GLM-5.2 model limits and send native Z.AI thinking.type / compatible reasoning_effort parameters
  • preserve json_object mode for native Z.AI OpenAI-compatible endpoints

Automated evidence

  • pnpm check
  • pnpm regression:providers
  • pnpm regression:noodle
  • pnpm regression:emoji
  • git diff --check

Manual verification requested

  • Manually verify lorebook assignment editing does not create duplicates.
  • Manually verify the expanded emoji picker and search across desktop composers.
  • Manually verify GPT-5.6 Sol can generate Noodle profiles and a timeline against the live provider.
  • Manually verify a native Z.AI GLM-5.2 connection with thinking enabled and disabled.
  • Manually verify global image-prompt review and saved slash-command behavior in the browser.

Summary by CodeRabbit

  • New Features

    • Added GLM-5.2 to custom OpenAI-compatible model choices.
    • Added optional review of generated image prompts before sending during Noodle refreshes.
    • Expanded emoji picker coverage, search, labels, and accessibility support.
  • Bug Fixes

    • Fixed Quick Replies “Post only” handling for slash commands.
    • Improved compatibility with GPT-5.6 structured responses and GLM thinking settings.
    • Fixed Noodle refresh and prompt-editing flow issues.
    • Fixed duplication of character-assigned lorebooks.
  • Changed

    • Quick Replies settings are now located under Input & Editing.
    • Noodle interactions can include more personality-consistent interpersonal drama.

🔄 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/3444 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/10/2026 **Status:** ✅ Merged **Merged:** 7/10/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/emoji-noodle-drama-settings` --- ### 📝 Commits (5) - [`cb6bd54`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cb6bd5487e0f0e2735b29984a33de62ae8eca6c7) Fix lorebook duplication and generation settings - [`2f3c0a8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2f3c0a8c214866e2189d0ee0b72222fd2ad3cbd9) Expand emoji pickers to Unicode 17 - [`985fa7c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/985fa7cf81fda9a0d7e6a6cdac3763755e3fcfe2) Allow character drama in Noodle prompts - [`25ef17a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/25ef17a9bc7831b751e959b48b06c7096a4dd04e) Fix Sol JSON output and GLM-5.2 compatibility - [`8af7be4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8af7be4a236a28e817dfe2105b2280306e28f352) Address CodeRabbit review feedback ### 📊 Changes **26 files changed** (+4954 additions, -399 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+9 -0) 📝 `package.json` (+3 -1) 📝 `packages/client/src/components/chat/ChatInput.tsx` (+9 -5) 📝 `packages/client/src/components/chat/ConversationInput.tsx` (+7 -0) 📝 `packages/client/src/components/noodle/NoodleView.tsx` (+42 -13) 📝 `packages/client/src/components/panels/LorebooksPanel.tsx` (+47 -75) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+294 -252) 📝 `packages/client/src/components/ui/EmojiPicker.tsx` (+33 -4) 📝 `packages/client/src/features/chat-settings/sections/ImpersonateSection.tsx` (+1 -1) 📝 `packages/client/src/hooks/use-noodle.ts` (+24 -1) ➕ `packages/client/src/lib/emoji-catalog.generated.ts` (+3891 -0) ➕ `packages/client/src/lib/lorebook-duplicate.ts` (+32 -0) 📝 `packages/client/src/lib/slash-commands.ts` (+5 -0) 📝 `packages/client/src/stores/ui.store.ts` (+1 -1) 📝 `packages/server/src/routes/noodle.routes.ts` (+114 -13) ➕ `packages/server/src/services/llm/providers/glm-request-compat.ts` (+55 -0) 📝 `packages/server/src/services/llm/providers/openai.provider.ts` (+24 -31) 📝 `packages/server/src/services/noodle/noodle-prompt.ts` (+1 -0) ➕ `packages/server/src/services/noodle/noodle-response-format.ts` (+130 -0) 📝 `packages/shared/src/constants/model-lists.ts` (+2 -1) _...and 6 more files_ </details> ### 📄 Description ## Why This brings the pending Noodle, generation-settings, emoji, lorebook, and provider-compatibility fixes together on a fresh branch for `staging`. It also fixes the two reported GPT-5.6 Sol Noodle failures and makes native Z.AI GLM-5.2 connections use the documented request shape. Closes #3433. ## What changed - prevent duplicate lorebook assignments and keep lorebook state synchronized - move Quick Replies to General → Input & Editing and execute recognized saved slash commands normally - apply image-prompt review to Noodle generations and clarify the global setting tooltip - expand standard emoji pickers to the Unicode Emoji 17.0 base catalog, including 🧪 - explicitly allow in-character conflict and drama in Noodle generation prompts - give GPT-5.6 Sol Noodle timeline/profile generation strict JSON schemas and an explicit JSON instruction - add GLM-5.2 model limits and send native Z.AI `thinking.type` / compatible `reasoning_effort` parameters - preserve `json_object` mode for native Z.AI OpenAI-compatible endpoints ## Automated evidence - `pnpm check` - `pnpm regression:providers` - `pnpm regression:noodle` - `pnpm regression:emoji` - `git diff --check` ## Manual verification requested - [ ] Manually verify lorebook assignment editing does not create duplicates. - [ ] Manually verify the expanded emoji picker and search across desktop composers. - [ ] Manually verify GPT-5.6 Sol can generate Noodle profiles and a timeline against the live provider. - [ ] Manually verify a native Z.AI GLM-5.2 connection with thinking enabled and disabled. - [ ] Manually verify global image-prompt review and saved slash-command behavior in the browser. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added GLM-5.2 to custom OpenAI-compatible model choices. * Added optional review of generated image prompts before sending during Noodle refreshes. * Expanded emoji picker coverage, search, labels, and accessibility support. * **Bug Fixes** * Fixed Quick Replies “Post only” handling for slash commands. * Improved compatibility with GPT-5.6 structured responses and GLM thinking settings. * Fixed Noodle refresh and prompt-editing flow issues. * Fixed duplication of character-assigned lorebooks. * **Changed** * Quick Replies settings are now located under Input & Editing. * Noodle interactions can include more personality-consistent interpersonal drama. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:05:22 +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#5939
No description provided.