Skip to content

Commit

Permalink
feat(): fixing compilation error on PromptExecutionServiceIT
Browse files Browse the repository at this point in the history
  • Loading branch information
samkerr4coding committed Dec 12, 2024
1 parent 11f6df6 commit 829d2fc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 829d2fc

Please sign in to comment.