Skip to main content

One post tagged with "ollama"

View All Tags

Gemini Ollama CLI Bridge: Local-First Code Analysis with Optional Cloud Refinement

· 6 min read
Victor Jimenez
Software Engineer & AI Agent Builder

Gemini Ollama CLI Bridge chains a local Ollama model with Google's Gemini into a two-stage code analysis pipeline. The first version piped data to Gemini through a shell subprocess -- fragile, hard to test, and impossible to cache. This upgrade replaces the shell integration with the google-generativeai Python SDK, adds result caching, and grows the test suite from 4 tests to 22.