You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried out the particular sequence below, it failed with an exception. What I did was:
Right click on root folder of this project, and select "Add directory to prompt context"
Open up a class, and submit "/test"
Error occurred while processing chat message
java.util.concurrent.CompletionException: com.devoxx.genie.service.exception.ProviderUnavailableException: dev.ai4j.openai4j.OpenAiHttpException: {"error":{"code":null,"message":"Invalid 'messages[5]': unrecognized key: 'name'","param":null,"type":"invalid_request_error"}}
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: com.devoxx.genie.service.exception.ProviderUnavailableException: dev.ai4j.openai4j.OpenAiHttpException: {"error":{"code":null,"message":"Invalid 'messages[5]': unrecognized key: 'name'","param":null,"type":"invalid_request_error"}}
at com.devoxx.genie.service.PromptExecutionService.processChatMessage(PromptExecutionService.java:130)
at com.devoxx.genie.service.PromptExecutionService.lambda$executeQuery$0(PromptExecutionService.java:78)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
... 3 more
The text was updated successfully, but these errors were encountered:
When I tried out the particular sequence below, it failed with an exception. What I did was:
The text was updated successfully, but these errors were encountered: