Skip to content

Commit d441c63

Browse files
committed
test(agent-core): treat the general profile prompt as templated
general.md is loaded through systemPromptPath and rendered by renderPrompt, exactly like system.md, so its {{ ROLE_ADDITIONAL }} and {{ PYTHINKER_SKILLS }} placeholders are resolved before the model sees them.
1 parent 667e640 commit d441c63

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/agent-core/test/prompt-placeholders.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const SRC = join(import.meta.dirname, '..', 'src');
2323
// templated prompt file is introduced.
2424
const TEMPLATED = new Set([
2525
'profile/default/system.md',
26+
'profile/default/general.md',
2627
'agent/compaction/compaction-instruction.md',
2728
'tools/builtin/file/read.md',
2829
'tools/builtin/file/read-media.md',

0 commit comments

Comments
 (0)