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: abhr-0/CopilotChat.nvim
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: CopilotC-Nvim/CopilotChat.nvim
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.
  • 6 commits
  • 8 files changed
  • 6 contributors

Commits on Jun 16, 2026

  1. Configuration menu
    Copy the full SHA
    33d1bbe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab5cf12 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2026

  1. [pre-commit.ci] pre-commit autoupdate (CopilotC-Nvim#1565)

    updates:
    - [github.com/JohnnyMorganz/StyLua: v2.4.1 → v2.5.2](JohnnyMorganz/StyLua@v2.4.1...v2.5.2)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jun 17, 2026
    Configuration menu
    Copy the full SHA
    317955e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0c2a23 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2026

  1. fix: resolve auto models with session token and full model cache (Cop…

    …ilotC-Nvim#1577)
    
    * Initial plan
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * fix: handle missing resolved model and restricted model_picker_enabled accounts
    
    - client.lua: when resolve_model returns a model not in the cache (e.g.
      because model_picker_enabled is false for all models on a restricted
      account), fall back to the original model config so the request can
      still proceed with the correct model id.
    - providers.lua: when no models have model_picker_enabled=true, fall back
      to all chat models so the picker shows useful options instead of only
      showing Auto (Copilot).
    
    Fixes: Resolved model not found error when using Auto model on accounts
    where model_picker_enabled is false for all API models.
    
    * feat(client): allow resolve_model to return extra request headers
    
    Copilot now returns a session token alongside the selected model ID.
    Pass it through as optional extra headers (e.g. Copilot-Session-Token) so
    providers can attach per-request tokens without mutating the shared auth
    cache.
    
    * test(providers): cover model picker behavior for restricted accounts
    
    * fix(providers): return complete model metadata
    
    Stub get/post on the shared curl module table so provider tests reliably intercept requests. Preserve picker metadata and return the auto-model session token header.
    
    Amp-Thread-ID: https://ampcode.com/threads/T-019fc08c-077d-76bc-bb51-dfed43aad83c
    Co-authored-by: Amp <amp@ampcode.com>
    
    * fix(models): cache all chat models and hide picker-disabled ones
    
    Always keep full model metadata for auto-resolve, while only showing
    picker-enabled models (plus Auto) in :CopilotChatModels. This prevents
    restricted accounts from direct-selecting models without a session token.
    
    Amp-Thread-ID: https://ampcode.com/threads/T-019fc08c-077d-76bc-bb51-dfed43aad83c
    Co-authored-by: Amp <amp@ampcode.com>
    
    * fix(copilot): fallback to auto model when picker is disabled for restricted accounts
    
    * fix(client): improve restricted-account model fallback and error messages
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Huynh Duc Dung <dunghd.it@gmail.com>
    Co-authored-by: Amp <amp@ampcode.com>
    4 people authored Aug 3, 2026
    Configuration menu
    Copy the full SHA
    66c7fb0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5171b9 View commit details
    Browse the repository at this point in the history
Loading