[
https://issues.apache.org/jira/browse/CAMEL-26873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-26873.
---------------------------------
Resolution: Fixed
Fixed by https://github.com/apache/camel/pull/29794 (merged as ddead8e66540 on
main), in 4.24.0.
_Claude Code on behalf of Claus Ibsen_
> camel-langchain4j-embeddings - deprecate the
> CamelLangChain4jEmbeddingsFinishReason header
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-26873
> URL: https://issues.apache.org/jira/browse/CAMEL-26873
> Project: Camel
> Issue Type: Improvement
> Reporter: Urmila Unni
> Priority: Minor
> Fix For: 4.24.0
>
>
> Follow-up of CAMEL-26514 (PR #29654).
> The producer now calls EmbeddingModel.embed(EmbeddingRequest), and an
> EmbeddingResponse has no finish reason, so the
> CamelLangChain4jEmbeddingsFinishReason header is never set anymore.
> LangChain4jEmbeddingsHeaders.FINISH_REASON is still declared with @Metadata,
> so the catalog and the component doc still list a header the producer never
> sets.
> Proposed: mark the constant @Deprecated with a deprecation note in @Metadata,
> and regenerate the component JSON, the catalog copy and the Endpoint DSL. The
> constant is kept so code that references it still compiles.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)