Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetaGPT 在 modelscope 环境中出现这样的问题,读取 config 读取不到 #1690

Open
WangLaoShi opened this issue Feb 12, 2025 · 3 comments

Comments

@WangLaoShi
Copy link

Image Image
@WangLaoShi
Copy link
Author

在 Google Colab 上,也会存在使用的问题

Image

没有办法编辑 config2.yml,所以,是不是有办法自己定义这个文件的位置呢。

@seehi
Copy link
Contributor

seehi commented Feb 13, 2025

一种方法是修改全局变量CONFIG_ROOT

import metagpt.const

metagpt.const.CONFIG_ROOT = "config2.yml文件的目录"

@LiangMiSan
Copy link

这个问题我也遇到了,是因为把后缀写错了,将”.yml“改成".yaml"就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants