fix: make tool list dynamic in system prompt

This commit is contained in:
Peter Steinberger
2026-01-05 06:32:44 +00:00
parent 79561d07a0
commit 724354b9f0
3 changed files with 100 additions and 11 deletions

View File

@@ -395,6 +395,7 @@ export async function runEmbeddedPiAgent(params: {
reasoningTagHint,
runtimeInfo,
sandboxInfo,
toolNames: tools.map((tool) => tool.name),
}),
contextFiles,
skills: promptSkills,