This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 8e39ef44603d chore(deps): Bump com.ibm.watsonx:watsonx-ai from 0.22.0
to 0.30.0 (#25442)
8e39ef44603d is described below
commit 8e39ef44603da348526809d5bc6094b29f5a359d
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Wed Aug 12 12:43:53 2026 +0200
chore(deps): Bump com.ibm.watsonx:watsonx-ai from 0.22.0 to 0.30.0 (#25442)
* chore(deps): Bump com.ibm.watsonx:watsonx-ai from 0.22.0 to 0.30.0
Bumps
[com.ibm.watsonx:watsonx-ai](https://github.com/IBM/watsonx-ai-java-sdk) from
0.22.0 to 0.30.0.
- [Release notes](https://github.com/IBM/watsonx-ai-java-sdk/releases)
-
[Commits](https://github.com/IBM/watsonx-ai-java-sdk/compare/0.22.0...0.30.0)
---
updated-dependencies:
- dependency-name: com.ibm.watsonx:watsonx-ai
dependency-version: 0.30.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
* chore: Use DeploymentChatRequest for deployment chat in watsonx-ai 0.30.0
watsonx-ai 0.30.0 moved deployment chat to a dedicated
DeploymentChatRequest type. ChatRequest.Builder no longer has
a deploymentId() method.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---------
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claus Ibsen <[email protected]>
Co-authored-by: Claude Opus 4.6 <[email protected]>
---
.../camel/component/ibm/watsonx/ai/handler/DeploymentHandler.java | 4 ++--
parent/pom.xml | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/components/camel-ibm/camel-ibm-watsonx-ai/src/main/java/org/apache/camel/component/ibm/watsonx/ai/handler/DeploymentHandler.java
b/components/camel-ibm/camel-ibm-watsonx-ai/src/main/java/org/apache/camel/component/ibm/watsonx/ai/handler/DeploymentHandler.java
index 6a7501e6bd4a..8f2238fef9f8 100644
---
a/components/camel-ibm/camel-ibm-watsonx-ai/src/main/java/org/apache/camel/component/ibm/watsonx/ai/handler/DeploymentHandler.java
+++
b/components/camel-ibm/camel-ibm-watsonx-ai/src/main/java/org/apache/camel/component/ibm/watsonx/ai/handler/DeploymentHandler.java
@@ -20,9 +20,9 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import com.ibm.watsonx.ai.chat.ChatRequest;
import com.ibm.watsonx.ai.chat.ChatResponse;
import com.ibm.watsonx.ai.chat.model.ChatMessage;
+import com.ibm.watsonx.ai.deployment.DeploymentChatRequest;
import com.ibm.watsonx.ai.deployment.DeploymentResource;
import com.ibm.watsonx.ai.deployment.DeploymentService;
import com.ibm.watsonx.ai.deployment.FindByIdRequest;
@@ -192,7 +192,7 @@ public class DeploymentHandler extends
AbstractWatsonxAiHandler {
// Build request - deployment chat API only supports 'messages' and
optionally
// 'context', 'tools', 'tool_choice', 'tool_choice_option' - no
parameters allowed
- ChatRequest request = ChatRequest.builder()
+ DeploymentChatRequest request = DeploymentChatRequest.builder()
.deploymentId(deploymentId)
.messages(messages)
.build();
diff --git a/parent/pom.xml b/parent/pom.xml
index b320c2b056dd..3d01a483ebf7 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -238,7 +238,7 @@
<ibm-cos-sdk-version>2.15.1</ibm-cos-sdk-version>
<ibm-secrets-manager-version>2.0.28</ibm-secrets-manager-version>
<ibm-watson-sdk-version>16.2.0</ibm-watson-sdk-version>
- <ibm-watsonx-ai-sdk-version>0.22.0</ibm-watsonx-ai-sdk-version>
+ <ibm-watsonx-ai-sdk-version>0.30.0</ibm-watsonx-ai-sdk-version>
<ibm-watsonx-data-sdk-version>0.9.0</ibm-watsonx-data-sdk-version>
<ical4j-version>4.3.0</ical4j-version>
<icu4j-version>78.3</icu4j-version>