You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Base description - the full description with available skills is generated dynamically
35
35
constbaseDescription=`Load a skill by name to get its full instructions. Skills provide reusable behaviors and domain-specific knowledge that you can use to complete tasks.
36
36
37
+
The following are the only skills that are currently available (do not try to use any other skills):
'There are no skills available. Do not use this tool because there are no skills to load.',
252
+
)
251
253
}
252
254
returndesc
253
255
}),
@@ -264,7 +266,7 @@ export const fullToolList = (
264
266
265
267
return`## List of Tools
266
268
267
-
These are the only tools that you (Buffy) can use. The user cannot see these descriptions, so you should not reference any tool names, parameters, or descriptions. Do not try to use any other tools -- even if referenced earlier in the conversation, they are not available to you, instead they may have been previously used by other agents.
269
+
These are the only tools that you can use. The user cannot see these descriptions, so you should not reference any tool names, parameters, or descriptions. Do not try to use any other tools -- even if referenced earlier in the conversation, they are not available to you, instead they may have been previously used by other agents.
268
270
269
271
${descriptions.join('\n\n')}`.trim()
270
272
}
@@ -350,13 +352,12 @@ export async function getToolSet(params: {
350
352
description,
351
353
}
352
354
}elseif(toolName==='skill'){
353
-
// Remove placeholder if no skills available
355
+
// Explicitly state no skills are available
354
356
letdescription=toolDef.description??''
355
357
description=description.replace(
356
-
AVAILABLE_SKILLS_PLACEHOLDER+'\n\n',
357
-
'',
358
+
AVAILABLE_SKILLS_PLACEHOLDER,
359
+
'There are no skills available. Do not use this tool because there are no skills to load.',
0 commit comments