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:
yuanzonghao
2026-06-24 19:04:45 +08:00
parent b5f5ebc353
commit d5b4a02cb3
5 changed files with 20 additions and 46 deletions
+1 -2
View File
@@ -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,
};
}