@Kloping 还有依赖的吗?(苦笑)眼癌患者是这样的
M
Markchard 发布的最佳帖子
Markchard 发布的最新帖子
-
RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)
@cssxsh 对不起!对不起!!对不起!!!孩子第一次写帖。
不过问题已经解决,能正常使用,贼溜,感谢大佬【鞠躬】 -
RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)
救救孩子吧!一直提示这个报错
java.lang.IllegalArgumentException: Unexpected char 0xfeff at 7 in Authorization value
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//okhttp3.Headers$Companion.checkValue(Headers.kt:450)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//okhttp3.Headers$Companion.access$checkValue(Headers.kt:362)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//okhttp3.Headers$Builder.add(Headers.kt:261)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//okhttp3.Request$Builder.addHeader(Request.kt:210)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//io.ktor.client.engine.okhttp.OkHttpEngineKt$convertToOkHttpRequest$1$1.invoke(OkHttpEngine.kt:191)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//io.ktor.client.engine.okhttp.OkHttpEngineKt$convertToOkHttpRequest$1$1.invoke(OkHttpEngine.kt:188)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//io.ktor.client.engine.UtilsKt$mergeHeaders$2.invoke(Utils.kt:50)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//io.ktor.client.engine.UtilsKt$mergeHeaders$2.invoke(Utils.kt:40)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//io.ktor.util.StringValuesImpl.forEach(StringValues.kt:182)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//io.ktor.client.engine.UtilsKt.mergeHeaders(Utils.kt:40)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//io.ktor.client.engine.okhttp.OkHttpEngineKt.convertToOkHttpRequest(OkHttpEngine.kt:188)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//io.ktor.client.engine.okhttp.OkHttpEngineKt.access$convertToOkHttpRequest(OkHttpEngine.kt:1)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//io.ktor.client.engine.okhttp.OkHttpEngine.execute(OkHttpEngine.kt:72)
at mirai-openai-plugin-1.3.4.mirai2.jar[private]//io.ktor.client.engine.HttpClientEngine$executeWithinCallContext$2.invokeSuspend(HttpClientEngine.kt:99)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
配置文件就只动了这些
![f755e400-2114-40a6-94cc-dddc36619592-S77(LNUGLVOR(%7@)15{7C.png
能确保代理可以过openai.com且api无误 -
RE: Console 自动定义回复插件
麻烦看一下,插件有被识别但不能加载。
工作环境:windows10 LTSC企业版 JDK17 mirai-console v2.13.0
报错如下: