Skip to content

docs: note that Gemini image connections cannot use Google Search grounding - #1799

Open
rasidi3112 wants to merge 1 commit into
open-webui:mainfrom
rasidi3112:docs/gemini-grounding-note
Open

rasidi3112 wants to merge 1 commit into
open-webui:mainfrom
rasidi3112:docs/gemini-grounding-note

Conversation

@rasidi3112

Copy link
Copy Markdown

Summary

Adds a short "Grounding with Google Search" section to the Gemini image generation page. The page did not say whether grounding can be used, which is what #1676 asks.

Open WebUI's Gemini image connection does not support it: the request body is built from the prompt only (plus input images when editing), with no tools field, and connection params are not merged for the gemini type. See backend/open_webui/routers/images.py on dev (516e609): the generateContent body in image generation (data = {'contents': [{'parts': [{'text': form_data.prompt}]}]}) and the same body in image editing.

Related issue or discussion

Closes #1676

Checklist

  • I have reviewed the relevant documentation and matched the existing style.
  • This PR meets Open WebUI's contribution standards: it is accurate, relevant to users, narrowly scoped, maintainable, and not promotional content, advertising, lead generation, SEO placement, or a request to list a product, service, provider, integration, gateway, tool, or company primarily for visibility.
  • I understand that PRs that do not meet these standards may be closed without review and will not be merged. Repeated, low-quality, off-topic, promotional, or intentionally misleading submissions may result in the contributor being blocked from future participation in Open WebUI repositories.

Notes for reviewers

One file, 4 added lines. The link goes to Google's own grounding page, which lists the Gemini 3 Pro Image and Gemini 3.1 Flash Image preview models as supporting grounding, so the limit is on the Open WebUI side. If grounding support for image connections is planned, this section can be dropped instead.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs feedback]: Gemini

1 participant