a system prompt in the config would be nice for customizing the AI personality like "you are a chatbot in the Minecraft bla bla server if someone writes x you can write y"
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: java.util.concurrent.CompletionException: java.lang.RuntimeException: java.util.concurrent.CompletionException: com.theokanning.openai.OpenAiHttpException: 'messages' is a required property
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:994)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:974)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: Caused by: java.lang.RuntimeException: java.util.concurrent.CompletionException: com.theokanning.openai.OpenAiHttpException: 'messages' is a required property
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at it.ohalee.minecraftgpt.OpenAI.lambda$getResponse$2(OpenAI.java:67)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:990)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: ... 9 more
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: Caused by: java.util.concurrent.CompletionException: com.theokanning.openai.OpenAiHttpException: 'messages' is a required property
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: ... 6 more
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: Caused by: com.theokanning.openai.OpenAiHttpException: 'messages' is a required property
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at com.theokanning.openai.service.OpenAiService.execute(OpenAiService.java:269)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at com.theokanning.openai.service.OpenAiService.createChatCompletion(OpenAiService.java:129)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at it.ohalee.minecraftgpt.OpenAI.lambda$getResponse$1(OpenAI.java:33)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: ... 6 more
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: Caused by: retrofit2.adapter.rxjava2.HttpException: HTTP 400
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:57)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:38)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual(CallExecuteObservable.java:48)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at io.reactivex.Observable.subscribe(Observable.java:10151)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:35)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at io.reactivex.Observable.subscribe(Observable.java:10151)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at io.reactivex.internal.operators.observable.ObservableSingleSingle.subscribeActual(ObservableSingleSingle.java:35)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at io.reactivex.Single.subscribe(Single.java:2517)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at io.reactivex.Single.blockingGet(Single.java:2001)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: at com.theokanning.openai.service.OpenAiService.execute(OpenAiService.java:260)
[21:43:03] [ForkJoinPool.commonPool-worker-2/WARN]: ... 9 more
>
This is a really amazing addition to the server. The amount of fun the players will have is going to be crazy. Thanks for a great plugin, as this worked right out of the gate with little to no config. Running 1.19.4 on paper latest version and no errors at all!!!!
java.util.concurrent.CompletionException: retrofit2.adapter.rxjava2.HttpException: HTTP 429
[14:08:46 WARN]: at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[14:08:46 WARN]: at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
[14:08:46 WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
[14:08:46 WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
[14:08:46 WARN]: at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
[14:08:46 WARN]: at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
[14:08:46 WARN]: at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
[14:08:46 WARN]: at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
[14:08:46 WARN]: at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
[14:08:46 WARN]: Caused by: retrofit2.adapter.rxjava2.HttpException: HTTP 429
[14:08:46 WARN]: at MinecraftGPT-1.2.3.jar//retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:57)
[14:08:46 WARN]: at MinecraftGPT-1.2.3.jar//retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:38)
[14:08:46 WARN]: at MinecraftGPT-1.2.3.jar//retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual(CallExecuteObservable.java:48)
[14:08:46 WARN]: at MinecraftGPT-1.2.3.jar//io.reactivex.Observable.subscribe(Observable.java:10151)
[14:08:46 WARN]: at MinecraftGPT-1.2.3.jar//retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:35)
[14:08:46 WARN]: at MinecraftGPT-1.2.3.jar//io.reactivex.Observable.subscribe(Observable.java:10151)
[14:08:46 WARN]: at MinecraftGPT-1.2.3.jar//io.reactivex.internal.operators.observable.ObservableSingleSingle.subscribeActual(ObservableSingleSingle.java:35)
[14:08:46 WARN]: at MinecraftGPT-1.2.3.jar//io.reactivex.Single.subscribe(Single.java:2517)
[14:08:46 WARN]: at MinecraftGPT-1.2.3.jar//io.reactivex.Single.blockingGet(Single.java:2001)
[14:08:46 WARN]: at MinecraftGPT-1.2.3.jar//com.theokanning.openai.OpenAiService.createCompletion(OpenAiService.java:91)
[14:08:46 WARN]: at MinecraftGPT-1.2.3.jar//it.ohalee.minecraftgpt.OpenAI.lambda$getResponse$1(OpenAI.java:32)
[14:08:46 WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[14:08:46 WARN]: ... 6 more
BROOO, HAVING CHATGPT IN MY MINECRAFT SERVER IS SO FASCINATING. YOU ARE COOL BRO. PLS KEEP IT UP WITH THE MINECRAFT UPDATES. BECAUSE CHATGPT IS THE FUTURE