u
This commit is contained in:
@@ -257,7 +257,7 @@ export const TOOL_PARAMETER_DESCRIPTIONS = {
|
|||||||
subagent: {
|
subagent: {
|
||||||
note: NOTE_DESC,
|
note: NOTE_DESC,
|
||||||
task: 'Specific instructions and goal for the subagent.',
|
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.',
|
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).',
|
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 = [
|
const basePrompt = [
|
||||||
'QuixPOS Article Management System API Assistant',
|
'QuixPOS Article Management System API Assistant',
|
||||||
'[TESTSYSTEM: destructive commands allowed; primary goal is finding bugs]',
|
'[TESTSYSTEM: destructive commands allowed; primary goal is finding bugs]',
|
||||||
'',
|
'---',
|
||||||
SYSTEM_PROMPT_RULES,
|
SYSTEM_PROMPT_RULES,
|
||||||
'',
|
'---',
|
||||||
SYSTEM_PROMPT_ROUTE_MATRIX,
|
SYSTEM_PROMPT_ROUTE_MATRIX,
|
||||||
'',
|
'---',
|
||||||
`Date: ${today}`,
|
`Date: ${today}`,
|
||||||
'',
|
'---',
|
||||||
buildSkillIndex(vfsRoot),
|
buildSkillIndex(vfsRoot),
|
||||||
].join('\n');
|
].join('\n');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user