fix(ena-planner): persist active template and extend default keep tags

This commit is contained in:
2026-02-25 22:44:51 +08:00
parent b92d3bce28
commit 434e0f48a1
2 changed files with 12 additions and 4 deletions

View File

@@ -33,12 +33,14 @@ function getDefaultSettings() {
// Plot extraction
plotCount: 2,
// Planner response tags to keep, in source order (empty = keep full response)
responseKeepTags: ['plot', 'note'],
responseKeepTags: ['plot', 'note', 'plot-log', 'state'],
// Planner prompts (designer)
promptBlocks: structuredClone(DEFAULT_PROMPT_BLOCKS),
// Saved prompt templates: { name: promptBlocks[] }
promptTemplates: structuredClone(BUILTIN_TEMPLATES),
// Currently selected prompt template name in UI
activePromptTemplate: '',
// Planner API
api: {