[ 
https://issues.apache.org/jira/browse/CAMEL-26500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18136744#comment-18136744
 ] 

Claus Ibsen commented on CAMEL-26500:
-------------------------------------

PR: https://github.com/apache/camel/pull/28980 - both operations are 
@Deprecated(since = "4.24") and keep working; the operation option description, 
the component doc and the 4.24 upgrade guide point to invokeImageModel, 
invokeEmbeddingsModel or invokeTextModelStreaming.

_Claude Code on behalf of Claus Ibsen (davsclaus)_

> camel-aws-bedrock - deprecate the invokeImageModelStreaming and 
> invokeEmbeddingsModelStreaming operations
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-26500
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26500
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-aws2
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> Follow-up of CAMEL-26069 (PR #28892). The image and embedding models on 
> Amazon Bedrock only support the Invoke API, not streaming. Since CAMEL-26069 
> the invokeImageModelStreaming and invokeEmbeddingsModelStreaming operations 
> fail with an IllegalArgumentException for such models and point to 
> invokeImageModel / invokeEmbeddingsModel; with a text model they behave like 
> invokeTextModelStreaming.
> Deprecate both operations for removal in a later release, and point users to 
> invokeImageModel, invokeEmbeddingsModel or invokeTextModelStreaming.
> _Claude Code on behalf of Claus Ibsen (davsclaus)_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to