fix(skill): keep no-skills wording compatible with tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
export const TOOL_NAME = "skill" as const
|
export const TOOL_NAME = "skill" as const
|
||||||
|
|
||||||
export const TOOL_DESCRIPTION_NO_SKILLS = "Load a skill or execute a slash command to get detailed instructions for a specific task. No skills or commands are currently available."
|
export const TOOL_DESCRIPTION_NO_SKILLS = "Load a skill or execute a slash command to get detailed instructions for a specific task. No skills are currently available."
|
||||||
|
|
||||||
export const TOOL_DESCRIPTION_PREFIX = `Load a skill or execute a slash command to get detailed instructions for a specific task.
|
export const TOOL_DESCRIPTION_PREFIX = `Load a skill or execute a slash command to get detailed instructions for a specific task.
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ describe("skill tool - synchronous description", () => {
|
|||||||
const tool = createSkillTool({ skills: [] })
|
const tool = createSkillTool({ skills: [] })
|
||||||
|
|
||||||
// then
|
// then
|
||||||
expect(tool.description).toContain("No skills or commands are currently available")
|
expect(tool.description).toContain("No skills are currently available")
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user