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]: 求助:怎么配置翻译服务 #609

Open
sssczss opened this issue Apr 16, 2024 · 1 comment
Open

[Bug]: 求助:怎么配置翻译服务 #609

sssczss opened this issue Apr 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sssczss
Copy link

sssczss commented Apr 16, 2024

Issue

有GPT的api了不知道在哪配置

Command Line Arguments

No response

Console logs

No response

@sssczss sssczss added the bug Something isn't working label Apr 16, 2024
@Hyouka0510
Copy link

在项目的根目录新建.env文件
填入下面内容
OPENAI_API_KEY=sk-XXXXXX #你的API_KEY
#如果你是用中转API 请在下面中转的URL,记得v1结尾 。
#如果你是用原生API就注释掉
OPENAI_API_BASE=https://xxxx.com/v1

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

2 participants