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

无代码创建Agent,使用GLM4的企业api_key 和api_base, 问答无回复。 #443

Open
zhangyukun230 opened this issue May 17, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@zhangyukun230
Copy link

zhangyukun230 commented May 17, 2024

我用mofelscope社区搭了一个简单的agent,线上一切正常。本地把代码下载下来后正常运行了 。 模型用的是企业版本的glm4。使用企业的key,需要修改api_key 和base_url。我真对zhipu.py进行了修改
image
修改后, agent无回复
image
且无任何报错
换成我个人的glm4 api _key 就没有问题了, agent就可以正常回复
image

@zhangyukun230 zhangyukun230 added the bug Something isn't working label May 17, 2024
@zhangyukun230
Copy link
Author

@zzhangpurdue @suluyana @feiqihang @AlphaHinex 有空帮忙解答下。

@zzhangpurdue
Copy link
Collaborator

好的,这里我们看一下,怎么复现。所以,基本上是换了个base_url就不行了对么?

@zzhangpurdue
Copy link
Collaborator

控制台能看到报错么?在log中,你关注一下看看是否有报错。

@zzhangpurdue zzhangpurdue removed their assignment May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants