Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

添加第三方代理OpenAI API支持 #79

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

TonWin618
Copy link
Contributor

appsettings.json文件中的"OpenAIKeys"键下增加对"OpenAIEndpoint"键的支持,用来指定第三方代理OpenAI API地址。

以下情况会使用OpenAI官方API终结点:

  • 该键未配置即不存在
  • 该键的值为null""

解决issue #19

@JeffreySu JeffreySu added the enhancement New feature or request label Apr 22, 2024
@JeffreySu JeffreySu merged commit 5b6f671 into Senparc:Developer Apr 22, 2024
1 check passed
JeffreySu added a commit that referenced this pull request Apr 22, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants