OMP extension that overrides the Gemini model for web_search grounded requests.
OMP's web_search tool uses a built-in grounding model that may differ
from the model you actually want. Instead of the grounding service deciding
your model, this extension lets you pick it yourself.
omp extensions install jaeyeopme/gemini-search-model --enableBy default the extension targets gemini-2.5-flash (the web search
default), so it's a no-op until you change the model.
# Override: rewrite grounded search requests to use gemini-3.1-pro
export GEMINI_SEARCH_MODEL=gemini-3.1-pro| Env var | Default | Description |
|---|---|---|
GEMINI_SEARCH_MODEL |
gemini-2.5-flash |
Target model for grounded search requests. |
- OMP (Oh My Pi) with extension support.
- No external dependencies — only the OMP Extension API.
omp extensions remove gemini-search-model# Install locally for testing
omp extensions install ./gemini-search-model.ts --enable
# Run tests
bun test
# Verify it's active
GEMINI_SEARCH_MODEL=gemini-2.5-pro omp run "search the web for latest AI news"