Skip to content

Commit 94f65ac

Browse files
committed
Add context and transactionId to DeploymentServiceTest#test_chat_streaming
Signed-off-by: andreadimaio <[email protected]>
1 parent b5805b1 commit 94f65ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/watsonx-ai/src/test/java/com/ibm/watsonx/ai/DeploymentServiceTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,8 @@ public void onCompleteToolCall(ToolCall completeToolCall) {
600600
.projectId("project-id")
601601
.maxCompletionTokens(0)
602602
.temperature(0.0)
603+
.context("test")
604+
.transactionId("my-transaction-id")
603605
.build();
604606

605607
deploymentService.chatStreaming(messages, chatParameters, chatHandler);

0 commit comments

Comments
 (0)