fix(opencode): avoid duplicate skill catalog (#31269)
This commit is contained in:
parent
233427f08e
commit
aacdb34e3f
2 changed files with 3 additions and 21 deletions
|
|
@ -68,6 +68,9 @@ Use this skill.
|
|||
})).find((tool) => tool.id === SkillTool.id)
|
||||
if (!tool) throw new Error("Skill tool not found")
|
||||
|
||||
expect(tool.description).not.toContain("tool-skill")
|
||||
expect(tool.description).not.toContain("Skill for tool tests.")
|
||||
|
||||
const requests: Array<Omit<PermissionV1.Request, "id" | "sessionID" | "tool">> = []
|
||||
const ctx: Tool.Context = {
|
||||
...baseCtx,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue