默认只开主世界层,无转述时直接把原文当终稿呈现。
避免再经转述改写一轮,并让主世界层在关转述时走可见正文协议。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -120,7 +120,7 @@ import {
|
||||
SLOT_ASKED_QUESTIONS,
|
||||
} from "../skills/question-protocol.js";
|
||||
import { parseWorkerSetYaml } from "../skills/worker-set-parse.js";
|
||||
import { defaultPlaySlots } from "../skills/play-slots.js";
|
||||
import { defaultPlaySlots, isNarratorEnabled } from "../skills/play-slots.js";
|
||||
import {
|
||||
mergeOpeningTablePatch,
|
||||
OPENING_CURRENT_VARS_TAG,
|
||||
@@ -1252,7 +1252,16 @@ export class PhaseRuntime {
|
||||
): import("../worker/executor.js").WorkerRunResult {
|
||||
if (!isPlayLayerActive(this.session.slots)) return result;
|
||||
const outputs = { ...result.outputs };
|
||||
if (Object.keys(outputs).length === 0 && isPlayPresentWorker(workerId)) {
|
||||
if (
|
||||
Object.keys(outputs).length === 0 &&
|
||||
isPlayPresentWorker(workerId, {
|
||||
narratorEnabled: isNarratorEnabled(
|
||||
parseWorkerSetYaml(
|
||||
this.blackboard.getContentByTag("设计.worker集") ?? "",
|
||||
)?.play_slots,
|
||||
),
|
||||
})
|
||||
) {
|
||||
const shell =
|
||||
parseShellAdaptationFromReplyFormat(
|
||||
this.blackboard.getContentByTag("设计.正文组成") ??
|
||||
|
||||
Reference in New Issue
Block a user