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

[BUG]1.3.12 的设置下的自定义提供方总是配置不对。 #1405

Open
lchyn opened this issue Jun 13, 2024 · 2 comments
Open

[BUG]1.3.12 的设置下的自定义提供方总是配置不对。 #1405

lchyn opened this issue Jun 13, 2024 · 2 comments

Comments

@lchyn
Copy link

lchyn commented Jun 13, 2024

Bug Description
关于新的1.3.12的提供的设置功能:自定义提供方,
分别测试了zhipu的GLM的open.bigmodel.cn, 通义前问的dashscope.aliyuncs.com;
用的是OpenAI API 兼容模式;
感觉都没有配置成功啊, 无论如何调整 API 域名和API路径的写法;
总是显示要么404要么,API 路径错误;
这个没有日志输出给看一下,怎么调用的么?

用OPENAI 的python接口,设置base_url 是可以的。

@lchyn
Copy link
Author

lchyn commented Jun 13, 2024

ZHIPU的兼容OPEN AI的BASE_URL 是 : https://open.bigmodel.cn/api/paas/v4/
通义千问的兼容OPEN AI的BASE_URL 是 : https://dashscope.aliyuncs.com/compatible-mode/v1

@MOXCOOT
Copy link

MOXCOOT commented Jun 20, 2024

ZHIPU的兼容OPEN AI的BASE_URL 是 : https://open.bigmodel.cn/api/paas/v4/

通义千问的兼容OPEN AI的BASE_URL 是 : https://dashscope.aliyuncs.com/compatible-mode/v1

似乎使用https://dashscope.aliyuncs.com/compatible-mode/v1 在移动端依然会报network error的问题

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