Skip to content

Commit 2133fc4

Browse files
Added instructions
1 parent efe05e1 commit 2133fc4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

orchestration/src/main/java/com/sap/ai/sdk/orchestration/spring/OrchestrationChatOptions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ private void setLlmConfigParam(OrchestrationChatOptions copy, String param, Obje
186186

187187
@Nonnull
188188
private LLMModuleConfig getLlmConfigNonNull() {
189-
return Objects.requireNonNull(config.getLlmConfig(), "LLM config is not set");
189+
return Objects.requireNonNull(
190+
config.getLlmConfig(),
191+
"LLM config is not set. Please set it: new OrchestrationChatOptions(new OrchestrationModuleConfig().withLlmConfig(...))");
190192
}
191193
}

0 commit comments

Comments
 (0)