Flag camel-openai CamelOpenAIResponse property for manual review (CAMEL-24539)

Apache 2.0

With storeFullResponse=true, the embeddings, audio-transcription and audio-translation camel-openai operations now store their full response under an operation-specific exchange property instead of the shared CamelOpenAIResponse property (chat-completion is unchanged). Which one applies to a given CamelOpenAIResponse/OpenAIConstants.RESPONSE occurrence is not mechanically decidable in general - exchange properties cross route boundaries via error handlers, onCompletion and endpoints such as direct: - so this recipe adds a review comment at every occurrence instead of rewriting it. Only applies if the camel-openai dependency is present.

org.apache.camel.upgrade.camel422_1.flagOpenAIFullResponseProperty
mod run . --recipe=org.apache.camel.upgrade.camel422_1.flagOpenAIFullResponseProperty

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Flag camel-openai CamelOpenAIResponse property in Java DSL
  2. Flag camel-openai CamelOpenAIResponse property in XML DSL
  3. Flag camel-openai CamelOpenAIResponse property in YAML DSL