Fix DashScope env loading for scene image generation
This commit is contained in:
@@ -1882,7 +1882,7 @@ export function buildCharacterBackstoryPromptContext(
|
||||
...getUnlockedCharacterBackstoryChapters(character, affinity, worldType)
|
||||
.map(chapter => chapter.contextSnippet.trim())
|
||||
.filter(Boolean),
|
||||
].filter(Boolean);
|
||||
].filter((snippet): snippet is string => Boolean(snippet));
|
||||
}
|
||||
|
||||
export function getCharacterHomeSceneId(worldType: WorldType, characterId: string) {
|
||||
|
||||
Reference in New Issue
Block a user