From 85925c50d56b8b32ad267bbd93bf5c8ef8d9397a Mon Sep 17 00:00:00 2001 From: lorenzejay Date: Sun, 26 Jul 2026 14:09:17 -0700 Subject: [PATCH] skills progressive disclosure --- lib/crewai/src/crewai/utilities/prompts.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/crewai/src/crewai/utilities/prompts.py b/lib/crewai/src/crewai/utilities/prompts.py index 467ebe6f7..e6c58b98d 100644 --- a/lib/crewai/src/crewai/utilities/prompts.py +++ b/lib/crewai/src/crewai/utilities/prompts.py @@ -131,14 +131,12 @@ class Prompts(BaseModel): active = [ format_skill_context(skill) for skill in skills - if isinstance(skill, Skill) - and skill.disclosure_level >= INSTRUCTIONS + if isinstance(skill, Skill) and skill.disclosure_level >= INSTRUCTIONS ] available = [ format_skill_context(skill) for skill in skills - if isinstance(skill, Skill) - and skill.disclosure_level < INSTRUCTIONS + if isinstance(skill, Skill) and skill.disclosure_level < INSTRUCTIONS ] blocks: list[str] = []