refactor(engine): remove follow-up choices from insert-beat, keep multi-beat only
Insert-beat is a pure in-scene micro-interaction — adding choices that lead to change-scene contradicted its purpose. Now insert-beat generates 1-3 richer beats then loops back to the original options, which is the natural UX for "you glanced at something decorative." Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -203,7 +203,7 @@ export async function requestInsertBeat(
|
||||
);
|
||||
|
||||
// Guard every beat: promote unregistered speakers to narration.
|
||||
const guardedBeats = result.beats.map((partial) => {
|
||||
const guardedBeats = result.map((partial) => {
|
||||
if (
|
||||
partial.speaker &&
|
||||
partial.speaker !== "你" &&
|
||||
@@ -230,7 +230,6 @@ export async function requestInsertBeat(
|
||||
return {
|
||||
partial: first,
|
||||
extraBeats: extra.length > 0 ? extra : undefined,
|
||||
followUpChoices: result.choices,
|
||||
characters: req.session.characters,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user