jamesnetherton opened a new issue, #7426:
URL: https://github.com/apache/camel-quarkus/issues/7426

   Currently `RuntimeBeanRepository` only supports resolving beans by name:
   
   * Without qualifiers
   * With `@Named`
   * With `@Identifier`
   
   If a bean has some custom qualifiers, then the bean won't be found.
   
   An example of where this is a problem, is when you define multiple AI model 
configurations with `quarkus-langchain4j`.
   
   Synthetic `ChatLanguageModel` beans are produced, but they have a specific 
`@ModelName` qualifier. Where the value is the name given to the model 
configuration.
   
   Thus if you do something like `langchain4j-tools:foo?chatModel=#myModel`, 
bean resolution fails because the `@ModelName` qualifier is not taken into 
consideration.


-- 
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: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to