Skip to content

Copilot commit message generation fails with 400 "Unknown parameter: 'snippy'" (3.6.7, Windows) #23037

Closed

Description

@airshakur88

The problem

Clicking the Copilot button to generate a commit message fails with an HTTP 400 from the Copilot session, so no commit message is generated. Git itself is unaffected: a manually typed message commits normally.

error: [ui] CopilotStore: Session error (query)
Error: 400 Validation: Unsupported parameter(s): `snippy`
warn: [ui] CopilotStore: Failed to generate commit message

A few seconds later the same failure reports as:

Error: 400 Unknown parameter: 'snippy'.

The request apparently still sends a snippy parameter that the Copilot backend rejects, so the commit-message feature cannot be used at all.

Release version

3.6.7 (x64)

Operating system

Windows 10.0.26200

Steps to reproduce the behavior

  1. Open any repository with staged changes in GitHub Desktop 3.6.7 on Windows.
  2. Click the Copilot (✨) button in the commit message box to generate a message.
  3. The request fails with HTTP 400 (Unknown parameter: 'snippy') and no message is generated. All subsequent attempts fail the same way.

Log files

Excerpt from %APPDATA%\GitHub Desktop\logs\2026-10-17.desktop.production.log (trimmed; full stack points at CopilotStore via @github/copilot-sdk):

20:50:21 error: [ui] CopilotStore: Session error (query)
Error: 400 Validation: Unsupported parameter(s): `snippy`
  at CopilotStore.<anonymous> (app-3.6.7\webpack:\app\src\lib\stores\copilot-store.ts:977)
  at ... (@github/copilot-sdk/dist/session.js:579)
20:50:21 warn: [ui] CopilotStore: Failed to generate commit message
20:50:42 error: [ui] CopilotStore: Session error (query)
Error: 400 Unknown parameter: 'snippy'.
20:50:42 warn: [ui] CopilotStore: Failed to generate commit message
20:52:47 error: [ui] CopilotStore: Session error (query)
Error: 400 Unknown parameter: 'snippy'.
20:52:47 warn: [ui] CopilotStore: Failed to generate commit message

Screenshots

None — the failure surfaces only as the toast/error text and in the logs above.

Additional context

  • The string snippy does not appear anywhere in the shipped application: a recursive search across the entire install tree (%LOCALAPPDATA%\GitHubDesktop\app-3.6.7, including resources\app\node_modules, resources\app\copilot and all bundled SDK/runtime/plugin files) as well as %APPDATA%\GitHub Desktop config, caches and Preferences finds it only in the log lines quoted above. There is no client-side preference, feature toggle or cache that can remove it.
  • This has never worked on this machine: earlier logs show the same failure on 2026-09-29 and 2026-10-08, and CopilotStore: Session error: [object Object] on 2026-10-06 — all before this release.
  • Already on the newest release (this report is against 3.6.7 x64, whose notes include "Update Copilot SDK to v1.0.13").
  • The same Unknown parameter: 'snippy' rejection has been reported when GitHub Copilot is routed through OpenAI models (ug github copilot does not work with OpenAI Models: "Unknown parameter: 'snippy' databricks/unity-gateway#855), which suggests the parameter is tied to how the session/routing is negotiated rather than to commit-message generation itself.
  • Related items: Copilot returned invalid JSON for commit message generation #22958 (Copilot returned invalid JSON for commit message generation) and Generating commit message with Copilot #22550 (Generating commit message with Copilot).

Activity

  1. desktop-triage commented on Oct 17, 2026

    @desktop-triage

    Triage summary: This is a reproducible bug report (version 3.6.7 x64, Windows 10, clear steps, log excerpts) showing Copilot commit-message generation always fails with an HTTP 400 rejecting an unexpected snippy parameter. I'm suggesting bug and a tentative priority-2 since the feature is completely unusable for the reporter, though core Git operations (manual commit) are unaffected and a workaround (typing the message manually) exists.

    Duplicate Check: Related but not duplicates: #22958 ("Copilot returned invalid JSON for commit message generation") and the closed #22550 ("Generating commit message with Copilot") describe different failure symptoms (invalid JSON / generic generation issues) rather than this specific snippy parameter-rejection error, so this issue stands as distinct.

    Initial hypothesis

    GitHub Desktop's commit-message generation builds a session config and forwards it largely as-is to the @github/copilot-sdk client (createClient/createSession in app/src/lib/stores/copilot-store.ts lines 901-943), which talks to a local Copilot runtime process over stdio; the 400 Unknown parameter: 'snippy' rejection therefore most plausibly originates server-side, inside the Copilot backend/runtime that the SDK calls into, rather than from a parameter Desktop itself constructs (the string snippy does not appear anywhere in Desktop's own source or the installed app tree, consistent with the reporter's search). snippy does appear as a known Copilot feature-flag name in other GitHub Copilot clients (e.g. github/CopilotForXcode), suggesting the backend/runtime may be negotiating or forwarding a feature-flag/capability parameter during session/model routing that this account's configuration doesn't support, independent of the commit-message prompt content. Desktop is already on @github/copilot-sdk ^1.0.13 (changelog: "Update Copilot SDK to v1.0.13"), and since the current app/package.json pins ^1.0.18 with newer SDK releases available upstream (up to 1.0.23), a fix or workaround may already exist in a newer SDK version — worth checking changelogs for @github/copilot-sdk releases after 1.0.13 before further investigation. The reporter's cross-link to databricks/unity-gateway#855 (same snippy rejection via OpenAI-routed Copilot) supports a backend/session-negotiation origin rather than a client-local bug, but this remains unverified without server-side logs or an SDK trace.

    Generated by Issue Triage (skills-driven) for #23037 · auto · 53.9 AIC · ⌖ 1.26 AIC · ⊞ 9K · ◷

  2. airshakur88 commented on Oct 17, 2026

    @airshakur88
    Author

    Additional evidence from further testing on this machine (Windows 10.0.26200, GitHub Desktop 3.6.7 x64):

    • With the model left on Auto, commit message generation works normally — no 400.
    • The 400 Unknown parameter: 'snippy' (or Unsupported parameter(s): snippy) happens on every attempt once a specific model is selected instead of Auto, including models provided through a custom / other-provider configuration.
    • Nothing client-side can be changed to avoid it: %APPDATA%\GitHub Desktop\Preferences has no Copilot keys, ~/.copilot/config.json is 131 bytes and only contains firstLaunchAt, and a binary-aware search of the whole resources\app tree (rg --text -i snippy) finds no occurrence of snippy — not even in the native copilot-runtime.exe payloads.

    This points to a request payload built by the bundled Copilot SDK that is only accepted by the Auto/default routing backend; the same OpenAI-side rejection was reported in databricks/unity-gateway#855. Repro here is 100% consistent: Auto ⇒ works, non-Auto / custom provider ⇒ 400. No git operation is affected — a manually typed message commits normally.

  3. added
    bug
    priority-2
    on Oct 19, 2026
  4. williammartin commented on Oct 19, 2026

    @williammartin
    Contributor

    Hey @airshakur88,

    Thanks for the detailed repro and the Auto comparison.

    I think this is fixed by the Copilot SDK update already included in the 3.6.8 beta releases. Desktop 3.6.7 ships SDK 1.0.13, while both current 3.6.8 betas ship SDK 1.0.18.

    $ for tag in release-3.6.7 release-3.6.8-beta1 release-3.6.8-beta2; do printf '%s\t' "$tag"; git show "$tag:app/yarn.lock" | sed -n '/"@github\/copilot-sdk@\^/,/dependencies:/p' | grep -m1 'version ' | tr -d '"' | xargs; done
    release-3.6.7 version 1.0.13
    release-3.6.8-beta1 version 1.0.18
    release-3.6.8-beta2 version 1.0.18

    If you're willing to try 3.6.8-beta2, could you confirm whether both a custom provider and an explicitly selected GitHub-hosted model work? If the hosted model still fails, please include its exact model ID and the new log excerpt, redacting anything sensitive.

    Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority-2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions