[GH-ISSUE #2510] [Feature]: Allow mode switching within a single conversation #1243

Closed
opened 2026-10-21 05:29:52 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Dan-de-leon on GitHub (Jun 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2510

What problem does this solve?

Currently, each chat is locked to the mode it was created in (Conversation, Roleplay, or Game). If I'm chatting with a character in Conversation mode and want to start a game together, I have to create an entirely new chat in Game mode. The shared memory across modes helps, but it splits what should be one continuous relationship into separate fragmented threads. I want to be able to say "we were roleplaying earlier but wanna go play a game together now?"

Proposed solution

Allow mode switching within a single conversation. A simple dropdown or toggle in the chat UI that swaps the rendering surface and activates the appropriate agent set for the selected mode, without creating a new chat or breaking the message thread. ChatArea.tsx already determines chat mode dynamically and renders the appropriate surface, this would just make that determination responsive to a user-toggled flag on the chat's metadata rather than a fixed value set at creation.

Alternatives considered

  • The current shared memory approach: works for character continuity but fragments the conversation into separate threads, which loses the natural context of why we switched modes in the first place.
  • Duplicating/forking a chat into a new mode: preserves message history but still creates a split point where one thread goes dead.

Additional context

The mobile experience makes this especially painful, switching between separate mode-specific chats requires more navigation on a smaller screen, and the friction discourages spontaneous mode-switching (e.g., mid-conversation "let's play a game" moments that should feel seamless). The three rendering surfaces already share the same message data structure, so the main work would be updating ChatMetadata to allow mode changes and ensuring agent activation/deactivation handles the transition gracefully.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • [] I DID NOT read this template and provide the requested details.
Originally created by @Dan-de-leon on GitHub (Jun 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2510 ## What problem does this solve? Currently, each chat is locked to the mode it was created in (Conversation, Roleplay, or Game). If I'm chatting with a character in Conversation mode and want to start a game together, I have to create an entirely new chat in Game mode. The shared memory across modes helps, but it splits what should be one continuous relationship into separate fragmented threads. I want to be able to say "we were roleplaying earlier but wanna go play a game together now?" ## Proposed solution Allow mode switching within a single conversation. A simple dropdown or toggle in the chat UI that swaps the rendering surface and activates the appropriate agent set for the selected mode, without creating a new chat or breaking the message thread. `ChatArea.tsx` already determines chat mode dynamically and renders the appropriate surface, this would just make that determination responsive to a user-toggled flag on the chat's metadata rather than a fixed value set at creation. ## Alternatives considered - The current shared memory approach: works for character continuity but fragments the conversation into separate threads, which loses the natural context of *why* we switched modes in the first place. - Duplicating/forking a chat into a new mode: preserves message history but still creates a split point where one thread goes dead. ## Additional context The mobile experience makes this especially painful, switching between separate mode-specific chats requires more navigation on a smaller screen, and the friction discourages spontaneous mode-switching (e.g., mid-conversation "let's play a game" moments that should feel seamless). The three rendering surfaces already share the same message data structure, so the main work would be updating `ChatMetadata` to allow mode changes and ensuring agent activation/deactivation handles the transition gracefully. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:29:52 +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#1243
No description provided.