atiaomar1978-hub commented on PR #26055:
URL: https://github.com/apache/camel/pull/26055#issuecomment-5528548563

   Addressed review feedback in `04413ce` — removed route source scanning 
entirely.
   
   **New approach (aligned with existing JBang patterns):**
   
   1. **GenAI components** — resolved by the existing silent-run pipeline: 
routes load in stub context → `DependencyDownloaderComponentResolver` downloads 
from catalog → `dependency=` lines captured in run settings (same as any other 
component).
   
   2. **LangChain4j provider JARs** — resolved via `KnownDependenciesResolver` 
when bean types / imports are loaded (`dev.langchain4j.model.*` mappings 
already in `camel-main-known-dependencies.properties`).
   
   3. **`camel-ai-observability`** — added by `GenAiDependencyHelper` using 
profile/settings rules (like OpenTelemetry/LRA): only when `--observe` or 
`camel.aiObservability.enabled=true` **and** GenAI artifacts are already in the 
dependency set from silent run. Also mapped `GenAiObservabilityImpl` in 
known-deps for runtime download.
   
   Removed `GenAiDependencyDiscovery` (315 lines of regex scanning). Tests pass.
   
   _Cursor Agent on behalf of atiaomar1978-hub_


-- 
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]

Reply via email to