🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
fixbug: .well_known
莘权 马4eab58f06943
diff --git a/docs/.agent-store-config.yaml.example b/docs/.agent-store-config.yaml.exampleindex d12cc6999..bec0dd170 100644--- a/docs/.agent-store-config.yaml.example+++ b/docs/.agent-store-config.yaml.example@@ -1,7 +1,7 @@role:name: Teacher # Referenced the `Teacher` in `metagpt/roles/teacher.py`.module: metagpt.roles.teacher # Referenced `metagpt/roles/teacher.py`.- skills: # Refer to the skill `name` of the published skill in `.well-known/skills.yaml`.+ skills: # Refer to the skill `name` of the published skill in `docs/.well-known/skills.yaml`.- name: text_to_speechdescription: Text-to-speech- name: text_to_imagediff --git a/metagpt/learn/skill_loader.py b/metagpt/learn/skill_loader.pyindex abe5ea2ea..7383af66d 100644--- a/metagpt/learn/skill_loader.py+++ b/metagpt/learn/skill_loader.py@@ -67,7 +67,7 @@ class SkillsDeclaration(BaseModel):@staticmethodasync def load(skill_yaml_file_name: Path = None) -> "SkillsDeclaration":if not skill_yaml_file_name:- skill_yaml_file_name = Path(__file__).parent.parent.parent / ".well-known/skills.yaml"+ skill_yaml_file_name = Path(__file__).parent.parent.parent / "docs/.well-known/skills.yaml"async with aiofiles.open(str(skill_yaml_file_name), mode="r") as reader:data = await reader.read(-1)skill_data = yaml.safe_load(data)