Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Gemini Search Model

OMP Extension

OMP extension that overrides the Gemini model for web_search grounded requests.

Motivation

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.

Quick start

omp extensions install jaeyeopme/gemini-search-model --enable

By 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

Configuration

Env var Default Description
GEMINI_SEARCH_MODEL gemini-2.5-flash Target model for grounded search requests.

Requirements

  • OMP (Oh My Pi) with extension support.
  • No external dependencies — only the OMP Extension API.

Uninstall

omp extensions remove gemini-search-model

Development

# 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"

About

OMP extension: override Gemini model for web_search grounded requests

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages