From 829d2fc101852cb5e4fdff571c38fb567b600512 Mon Sep 17 00:00:00 2001 From: samir Date: Thu, 12 Dec 2024 12:01:24 +0100 Subject: [PATCH] feat(): fixing compilation error on PromptExecutionServiceIT --- .../com/devoxx/genie/service/PromptExecutionServiceIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/devoxx/genie/service/PromptExecutionServiceIT.java b/src/test/java/com/devoxx/genie/service/PromptExecutionServiceIT.java index 1fc0f7bf..9190c15a 100644 --- a/src/test/java/com/devoxx/genie/service/PromptExecutionServiceIT.java +++ b/src/test/java/com/devoxx/genie/service/PromptExecutionServiceIT.java @@ -141,7 +141,8 @@ private ChatLanguageModel createChatModel(LanguageModel languageModel) { .apiKey(dotenv.get("MISTRAL_API_KEY")) .modelName(languageModel.getModelName()) .build(); - case DeepInfra -> OpenAiChatModel.builder() + case DeepInfra + -> OpenAiChatModel.builder() .baseUrl("https://api.deepinfra.com/v1/openai") .apiKey(dotenv.get("DEEPINFRA_API_KEY")) .modelName(languageModel.getModelName())