-
Notifications
You must be signed in to change notification settings - Fork 2
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
Allow custom base URL for OpenAiService #2
Conversation
update openai-java version include .vscode in gitignore
兄弟你这编译出来好像报错啊 |
具体报的什么错呢?我在本地编译运行没问题的 |
log找不到了,大佬要不发一下你的? |
[23:01:58 WARN]: Unexpected exception while parsing console command "craftgpt" |
[23:03:15 ERROR]: Error occurred while enabling CraftGPT v1.3 (Is it up to date?) |
Java 17 + 最新版 paper/purpur(不改配置)+ CraftGPT(不加其它插件)可以正常运行,检查一下是不是服务器配置问题或者有插件冲突 |
大佬私发一下你编译的吧 |
发布在这了:https://github.com/ljcleo/CraftGPT/releases/tag/v1.3 |
Sorry for such a long wait. The plugin was updated. |
According to TheoKanning/openai-java#234, it is possible to use a custom base URL (e.g. https://api.openai-proxy.com/) to replace OpenAI's official API (https://api.openai.com/). This can resolve certain issues like the one mentioned in #1.
P.S. there's a pull request for openai-java that could simplify the implementation, but it's not merged yet.