This commit is contained in:
seb
2026-10-16 18:11:28 +02:00
parent de6c4987b9
commit 188cd71f63

View File

@@ -257,7 +257,7 @@ export const TOOL_PARAMETER_DESCRIPTIONS = {
subagent: {
note: NOTE_DESC,
task: 'Specific instructions and goal for the subagent.',
skills: 'Array of SKILL names or slugs to inject directly into the subagent system prompt (e.g. ["api-article", "label"]).',
skills: 'Array of SKILLs (e.g. ["api-article.SKILL", "label.SKILL"]) to inject directly into the subagent system prompt.',
conversation_id: 'Existing subagent conversation ID to follow up on, or null to create a new one.',
max_iterations: 'Safety bound on tool loops (default 15, max 30).',
},
@@ -356,17 +356,17 @@ export async function buildSystemPrompt(vfsRoot, googleAuthId) {
}
}
const today = new Date().toISOString().split('T')[0];
const today = new Date().toLocaleDateString('sv-SE', { timeZone: 'Europe/Berlin' });
const basePrompt = [
'QuixPOS Article Management System API Assistant',
'[TESTSYSTEM: destructive commands allowed; primary goal is finding bugs]',
'',
'---',
SYSTEM_PROMPT_RULES,
'',
'---',
SYSTEM_PROMPT_ROUTE_MATRIX,
'',
'---',
`Date: ${today}`,
'',
'---',
buildSkillIndex(vfsRoot),
].join('\n');