mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-27 17:49:22 +00:00
skills progressive disclosure
This commit is contained in:
@@ -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] = []
|
||||
|
||||
Reference in New Issue
Block a user