Problem/Motivation

At the moment, we load the list of models directly with the Gemini API. We do a check for embedings but other than that we just load the models directly.

We need to further filter (even hardcoding manually if needed) and load only those models which are at the moment supported by the module.

There are even some models which are returned twice by the API and it does not make any sense to directly pass.

Steps to reproduce

Check the models list in API Explorer.

Proposed resolution

Test every model in API explorer and make sure all works and there are no duplication.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jibla created an issue. See original summary.

jibla’s picture

Status: Needs work » Active
jibla’s picture

jibla changed the visibility of the branch 3508886-filter-the-loaded to hidden.

jibla changed the visibility of the branch 3508886-filter-the-loaded to active.

jibla’s picture

Status: Active » Needs review

lekso surameli made their first commit to this issue’s fork.

jibla’s picture

Status: Needs review » Reviewed & tested by the community

  • jibla committed 1a02d20d on 1.x
    Issue #3508886: Filter loaded models list by supportedGenerationMethods...
jibla’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.