Zhuoxi2000 commented on code in PR #1186:
URL: https://github.com/apache/flink-agents/pull/1186#discussion_r4185704407
##########
integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java:
##########
@@ -284,6 +285,8 @@ public ChatMessage chat(
List<Tool> tools,
Map<String, Object> modelParams,
Object outputSchema) {
+ // Media blocks are not sent yet; fail rather than drop them (#1059).
+ UnsupportedContentBlockException.rejectMedia("IBM watsonx.ai",
messages);
Review Comment:
Good catch; fixed in a7487b0, the three-argument chat() now delegates, with
a regression test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]