mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 09:46:24 +02:00
fixbug: .well_known
This commit is contained in:
parent
43d07de810
commit
4eab58f069
2 changed files with 2 additions and 2 deletions
|
|
@ -67,7 +67,7 @@ class SkillsDeclaration(BaseModel):
|
|||
@staticmethod
|
||||
async 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue