Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google-gemini/gemini-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: li9ht/gemini-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 10 files changed
  • 2 contributors

Commits on Jun 28, 2025

  1. feat: Add OpenRouter support for Gemini models

    - Add new authentication method USE_OPENROUTER
    - Implement OpenRouterContentGenerator using OpenAI SDK
    - Map Gemini model names to OpenRouter format (e.g. gemini-2.5-pro → google/gemini-2.5-pro)
    - Support streaming, function calling, and JSON mode
    - Set default max_tokens to 20k for coding tasks
    - Add comprehensive tests for OpenRouter integration
    - Update CLI to show OpenRouter in auth dialog
    - Add documentation for OpenRouter setup and usage
    
    Fixes #1515
    heartyguy committed Jun 28, 2025
    Configuration menu
    Copy the full SHA
    dc9c495 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2025

  1. Merge branch 'pr-2319'

    # Conflicts:
    #	README.md
    #	package-lock.json
    #	packages/cli/src/gemini.tsx
    #	packages/core/package.json
    #	packages/core/src/core/contentGenerator.ts
    li9ht committed Jul 9, 2025
    Configuration menu
    Copy the full SHA
    e441bd4 View commit details
    Browse the repository at this point in the history
Loading