Skip to content

Conversation

@tnm
Copy link
Contributor

@tnm tnm commented Jan 5, 2026

Summary

  • Fixes Agentic review with Gemini model incorrectly calls OpenAI API #173: Agentic review with Gemini model incorrectly calls OpenAI API
  • Adds _run_agentic_analysis_google() method for multi-turn agentic analysis with Google Gemini
  • Updates provider routing to correctly dispatch based on configured LLM provider
  • Adds clear error for Ollama users (agentic mode not yet supported for that provider)

Changes

  • src/kit/pr_review/agentic_reviewer.py: Added Google Gemini support with function calling
  • tests/test_pr_review.py: Added 3 tests for provider routing verification

Test plan

  • All 64 PR review tests pass
  • New tests verify Google routing, Ollama error, and OpenAI routing
  • Manual test with Gemini model (requires API key)

tnm added 2 commits January 4, 2026 19:11
- Add _run_agentic_analysis_google() method for multi-turn agentic
  analysis with Google Gemini models using function calling
- Update provider routing in analyze_pr_agentic() to correctly route
  Google provider to the new method instead of falling through to OpenAI
- Add clear error message for Ollama users (agentic mode not yet supported)
- Add 3 tests for provider routing verification

Fixes #173
@tnm tnm merged commit 7fdebec into main Jan 5, 2026
2 checks passed
tnm added a commit that referenced this pull request Jan 5, 2026
- Add Google Gemini agentic review support (#173, #174)
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.

Agentic review with Gemini model incorrectly calls OpenAI API

2 participants