Skip to content

Native Google GenAI chat model API #7222

@maff

Description

@maff

What should we do?

Replace the LangChain4j bridge for the googleVertexAi provider discriminator with a native implementation over the google-genai-java SDK. Keep the existing Vertex backend wiring (a Developer API backend toggle becomes available in Phase 2 via the new connector types).

Requirements:

  • Streaming-first internal driver.
  • Hardcoded ModelCapabilities: text + image + document on user-message; text on tool-result; text on assistant-message.
  • Vertex auth (service account / ADC) consistent with today's behavior, including proxy support.
  • Stop-reason mapping, token usage, error classification consistent with the other native impls.

Why should we do it?

Day-one feature parity with the LangChain4j implementation for Google Vertex AI customers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentic-aikind:taskCategorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.

    Type

    Urgency

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions