Skip to content

Commit 87f2462

Browse files
committed
Update test
1 parent 9576bed commit 87f2462

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

orchestration/src/test/java/com/sap/ai/sdk/orchestration/OrchestrationUnitTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,8 @@ void setup(WireMockRuntimeInfo server) {
8989

9090
final var deployment =
9191
new AiCoreService()
92-
.withDestination(destination)
93-
.forDeploymentByScenario("orchestration")
94-
.withResourceGroup("my-resource-group");
92+
.withBaseDestination(destination)
93+
.getDestinationForDeploymentByScenario("my-resource-group", "orchestration");
9594
client = new OrchestrationClient(deployment);
9695
config = new OrchestrationModuleConfig().withLlmConfig(CUSTOM_GPT_35);
9796
prompt = new OrchestrationPrompt("Hello World! Why is this phrase so famous?");

0 commit comments

Comments
 (0)