section9-lab opened a new issue, #648:
URL: https://github.com/apache/flink-agents/issues/648

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/flink-agents/issues) and found nothing 
similar.
   
   ### Description
   
      Flink Agents currently provides built-in chat model integrations for 
OpenAI, Anthropic, Azure AI, Bedrock and Ollama, but Google Gemini is missing.  
                                            
                                                                                
                                                                                
                                       
      Although the Gemini API offers an OpenAI-compatible endpoint, the native 
Gemini protocol differs in several places that the existing OpenAI module 
cannot fully cover (e.g. `systemInstruction`  
    instead of a system role, `functionCall`/`functionResponse` parts without a 
`tool_call_id`, and Vertex AI authentication). A dedicated module is therefore 
preferable.                             
                                                                                
                                                                                
                                       
      This proposes adding `integrations/chat-models/gemini/` (Java) using the 
official `google-genai` SDK, which supports both Gemini AI Studio and Vertex AI 
through a single client. Scope of this  
    issue: text + function calling on the Java side. Multimodal, streaming and 
the Python counterpart will be tracked as follow-ups. 
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


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