File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
role:
2
2
name: Teacher # Referenced the `Teacher` in `metagpt/roles/teacher.py`.
3
3
module: metagpt.roles.teacher # Referenced `metagpt/roles/teacher.py`.
4
- skills: # Refer to the skill `name` of the published skill in `.well-known/skills.yaml`.
4
+ skills: # Refer to the skill `name` of the published skill in `docs/ .well-known/skills.yaml`.
5
5
- name: text_to_speech
6
6
description: Text-to-speech
7
7
- name: text_to_image
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ class SkillsDeclaration(BaseModel):
67
67
@staticmethod
68
68
async def load (skill_yaml_file_name : Path = None ) -> "SkillsDeclaration" :
69
69
if not skill_yaml_file_name :
70
- skill_yaml_file_name = Path (__file__ ).parent .parent .parent / ".well-known/skills.yaml"
70
+ skill_yaml_file_name = Path (__file__ ).parent .parent .parent / "docs/ .well-known/skills.yaml"
71
71
async with aiofiles .open (str (skill_yaml_file_name ), mode = "r" ) as reader :
72
72
data = await reader .read (- 1 )
73
73
skill_data = yaml .safe_load (data )
You can’t perform that action at this time.
0 commit comments