mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 20:03:05 +00:00
Better skill dir resolution, closes #1171
This commit is contained in:
parent
0a26db53ef
commit
5d6a7d6c34
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ export function formatSkillsForPrompt(skills: Skill[]): string {
|
|||
const lines = [
|
||||
"\n\nThe following skills provide specialized instructions for specific tasks.",
|
||||
"Use the read tool to load a skill's file when the task matches its description.",
|
||||
"Relative paths inside skill files are resolved from the skill directory (parent of the location path).",
|
||||
"When a skill file references a relative path, resolve it against the skill directory (parent of SKILL.md / dirname of the path) and use that absolute path in tool commands.",
|
||||
"",
|
||||
"<available_skills>",
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue