mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
f7c5b8d108
Port of .NET commit 08541ee5a9.
Replace property-based Skill.content/resources/scripts with async
by-name lookup methods:
- content property -> async get_content() -> str
- resources property -> async get_resource(name) -> SkillResource | None
- scripts property -> async get_script(name) -> SkillScript | None
SkillsProvider now always includes all three tools (load_skill,
read_skill_resource, run_skill_script) and both instruction blocks
regardless of whether any skills have resources or scripts.
ClassSkill retains resources/scripts properties as overridable hooks
for subclass reflection-based discovery.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
f7c5b8d108
ยท
2026-05-28 15:54:20 +00:00
History