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

[Feature] 希望添加对于自定义其它ChatGPT-APIkey接口地址的支持 #1356

Open
Enashpinal opened this issue Jul 11, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Enashpinal
Copy link

ChatGPT官方api获取太麻烦了,所以能不能添加自定义其它api接口地址的功能

@Enashpinal Enashpinal added the enhancement New feature or request label Jul 11, 2024
@navilanaguib
Copy link

一直都可以啊,自己指定api_endpoint改成第三方接入点就行了,具体配置:
[openai]
api_endpoint = "https://xxxx"
[[openai.accounts]]
api_key = "sk-xxxx"
model = "xxxx"

@passwhl
Copy link

passwhl commented Jan 15, 2025

[openai]
browserless_endpoint = ""
api_endpoint = "https://api.moonshot.cn/v1"
[[openai.accounts]]
api_key = "sk-***"
model = "moonshot-v1-8k"

怎么报错
universal:handle_message:295 - 404 Not Found {"error":{"message":"Not found the model gpt-3.5-turbo or Permission denied","type":"resource_not_found_error"}}

@passwhl
Copy link

passwhl commented Jan 15, 2025

哦 我用的v2.5.2 我用最新版试试

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

No branches or pull requests

3 participants