MetaGPT icon indicating copy to clipboard operation
MetaGPT copied to clipboard

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

Open WangLaoShi opened this issue 10 months ago • 4 comments

Image Image

WangLaoShi avatar Feb 12 '25 09:02 WangLaoShi

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

Image

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

WangLaoShi avatar Feb 12 '25 09:02 WangLaoShi

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

import metagpt.const

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

seehi avatar Feb 13 '25 06:02 seehi

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

LiangMiSan avatar Feb 17 '25 06:02 LiangMiSan

This issue has no activity in the past 30 days. Please comment on the issue if you have anything to add.

github-actions[bot] avatar Mar 20 '25 00:03 github-actions[bot]

This issue was closed due to 45 days of inactivity. If you feel this issue is still relevant, please reopen the issue to continue the discussion.

github-actions[bot] avatar Apr 03 '25 00:04 github-actions[bot]