Skip to content

Update the default chat model id for the Gemini chat model #1819

@fjuma

Description

@fjuma

The default chat model id for the Gemini chat model is gemini-1.5-flash. This model was discontinued on Sept. 24th.

Attempting to use this model results in the following error:

org.jboss.resteasy.reactive.ClientWebApplicationException: Received: 'Not Found, status code 404' when invoking REST Client method: 'io.quarkiverse.langchain4j.ai.runtime.gemini.AiGeminiRestApi#generateContent'

The default chat model id should be updated to use Gemini 2.0 Flash or newer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions