fix: improve skill loading feedback to prevent subagent hallucination (#564)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -16,7 +16,7 @@ You are a subagent launched via the Task tool to search conversation history. Yo
|
||||
Skill({ command: "load", skills: ["searching-messages"] })
|
||||
```
|
||||
|
||||
The skill content will appear in your loaded_skills block with script paths and search strategies.
|
||||
After loading, your `loaded_skills` memory block contains the full instructions with ready-to-use bash commands. Follow them directly - do not search for files or guess at commands.
|
||||
|
||||
### Step 2: Search the parent agent's history
|
||||
|
||||
|
||||
@@ -324,7 +324,9 @@ export async function skill(args: SkillArgs): Promise<SkillResult> {
|
||||
|
||||
// Now we can report success
|
||||
for (const skillId of preparedSkills) {
|
||||
results.push(`"${skillId}" loaded`);
|
||||
results.push(
|
||||
`"${skillId}" loaded. Contents have been placed into your memory - check your 'loaded_skills' block for instructions.`,
|
||||
);
|
||||
}
|
||||
|
||||
// Update the cached flag
|
||||
|
||||
Reference in New Issue
Block a user