atiaomar1978-hub opened a new pull request, #25172:
URL: https://github.com/apache/camel/pull/25172

   ## Summary
   
   - Adds `ApiType.gemini` to `LlmClient` for the Google Generative Language 
API (`generativelanguage.googleapis.com`), including env auto-detection 
(`GEMINI_API_KEY` / `GOOGLE_API_KEY`), model listing, chat/generate with 
function calling, and explicit URL health checks.
   - Exposes **gemini** in the TUI provider selector with Doctor/AiPanel hints 
aligned with other providers.
   - Documents detection order and `--api-type=gemini` in the JBang AI manual 
and 4.22 upgrade guide.
   
   ## Test plan
   
   - [x] `mvn test -pl dsl/camel-jbang/camel-jbang-core 
-Dtest=LlmClientGeminiTest,LlmClientListModelsTest`
   - [x] `mvn test -pl dsl/camel-jbang/camel-jbang-plugin-tui 
-Dtest=AiProviderSelectorTest`
   - [x] `mvn formatter:format impsort:sort` on touched jbang modules
   
   https://issues.apache.org/jira/browse/CAMEL-24275
   
   _AI-generated PR description on behalf of atiaomar1978-hub_
   
   Made with [Cursor](https://cursor.com)


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