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 · 1 comment
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"

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

2 participants