11
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-04-16 21:47:20 +08:00
parent 2456c10c63
commit 09d4c0c31b
79 changed files with 11873 additions and 2341 deletions

View File

@@ -7,8 +7,7 @@ import type {
CustomWorldGenerationStep,
} from '../../packages/shared/src/contracts/runtime';
import {
buildCustomWorldCreatorIntentDisplayText,
buildCustomWorldCreatorIntentGenerationText,
buildCustomWorldCreatorIntentFoundationText,
normalizeCustomWorldCreatorIntent,
} from './customWorldCreatorIntent';
@@ -177,17 +176,11 @@ export function buildAgentDraftFoundationSettingText(
);
if (creatorIntent) {
const generationText =
buildCustomWorldCreatorIntentGenerationText(creatorIntent).trim();
const displayText =
buildCustomWorldCreatorIntentDisplayText(creatorIntent).trim();
const foundationText =
buildCustomWorldCreatorIntentFoundationText(creatorIntent).trim();
if (generationText) {
return generationText;
}
if (displayText) {
return displayText;
if (foundationText) {
return foundationText;
}
if (creatorIntent.rawSettingText.trim()) {