Skip to content

Fixes #2185 googleSearchRetrieval(true) causes INVALID_ARGUMENT error with Gemini 2.0 (use google_search instead) #2755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

ddobrin
Copy link
Contributor

@ddobrin ddobrin commented Apr 15, 2025

  • Updated the Google Java client library BOM to 26.59, latest version
  • Updated the model list for Gemini
  • Update the GoogleSearch with the up-to-date search method

cc @tzolov @markpollack

@markpollack
Copy link
Member

Looks good, tests pass.

@ddobrin Can you add the necessary bits in the commit to pass DCO for your PR and then I'll merge it.

https://spring.io/blog/2025/01/06/hello-dco-goodbye-cla-simplifying-contributions-to-spring#what-do-i-do-if-the-dco-check-fails

@markpollack markpollack added this to the 1.0.0-RC1 milestone Apr 16, 2025
@markpollack markpollack self-assigned this Apr 16, 2025
ddobrin added 3 commits April 17, 2025 10:13
…ID_ARGUMENT error with Gemini 2.0 (use google_search instead)

Signed-off-by: ddobrin <[email protected]>
…ID_ARGUMENT error with Gemini 2.0 (use google_search instead)

Signed-off-by: ddobrin <[email protected]>
…ID_ARGUMENT error with Gemini 2.0 (use google_search instead)

Adding DCO signature.

Signed-off-by: Dan Dobrin <[email protected]>
Signed-off-by: ddobrin <[email protected]>
@markpollack
Copy link
Member

merged in 6e0c098

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants