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的配置:OPENAI_API_KEY= 加上 OPENAI_BASE_URL="https://api.fe8.cn/v1" 不能运行,建议完善 #1363

Open
BlizeGit opened this issue Jun 21, 2024 · 1 comment

Comments

@BlizeGit
Copy link

Feature description

配置:
3d515f6dfc11326bfdfdb72e1129c33

metagpt运行结果:
8a5ba695dcc57c5cac7331cb8acd73d

作为对比验证:

  1. 在.env中配置 OPENAI_API_KEY= 加上 OPENAI_BASE_URL="https://api.fe8.cn/v1"
    在我自己写的测试程序中,可以运行,能访问openai。
    1718953338861

  2. 按照autogpt的配置, 配置OPENAI_API_KEY= 加上 OPENAI_BASE_URL="https://api.fe8.cn/v1" ,也能运行起来。

  3. 所以,建议metagpt也要能运行起来!
    Your Feature

@usamimeri
Copy link
Contributor

usamimeri commented Jun 21, 2024

我尝试复现您的问题,根据原DevAGI的文档,其是兼容OpenAI接口的,我这里实测也是可以用的。
你可以检查一下自己是否有网络问题,例如挂了代理,可以检查一下是不是在~/.bashrc中写入了配置代理相关的环境变量,若有需要删除

export ALL_PROXY="http://YOUR_IP:7890"
export HTTP_PROXY="http://YOUR_IP:7890"
export HTTPS_PROXY="http://YOUR_IP:7890"
Code_bRL8UEc9rH

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

2 participants