Repository navigation
Closed
Labels
bugConfirmed bugs or reports that are very likely to be bugspriority-2Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
Description
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
- Open any repository with staged changes in GitHub Desktop 3.6.7 on Windows.
- Click the Copilot (✨) button in the commit message box to generate a message.
- 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
snippydoes not appear anywhere in the shipped application: a recursive search across the entire install tree (%LOCALAPPDATA%\GitHubDesktop\app-3.6.7, includingresources\app\node_modules,resources\app\copilotand all bundled SDK/runtime/plugin files) as well as%APPDATA%\GitHub Desktopconfig, 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).
Metadata
Metadata
Assignees
Labels
bugConfirmed bugs or reports that are very likely to be bugspriority-2Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
Activity
desktop-triage commentedon Oct 17, 2026
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
snippyparameter. I'm suggestingbugand a tentativepriority-2since 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
snippyparameter-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-sdkclient (createClient/createSessioninapp/src/lib/stores/copilot-store.tslines 901-943), which talks to a local Copilot runtime process over stdio; the400 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 stringsnippydoes not appear anywhere in Desktop's own source or the installed app tree, consistent with the reporter's search).snippydoes 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 currentapp/package.jsonpins^1.0.18with newer SDK releases available upstream (up to1.0.23), a fix or workaround may already exist in a newer SDK version — worth checking changelogs for@github/copilot-sdkreleases after 1.0.13 before further investigation. The reporter's cross-link to databricks/unity-gateway#855 (samesnippyrejection 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.airshakur88 commentedon Oct 17, 2026
Additional evidence from further testing on this machine (Windows 10.0.26200, GitHub Desktop 3.6.7 x64):
Unknown parameter: 'snippy'(orUnsupported 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.%APPDATA%\GitHub Desktop\Preferenceshas no Copilot keys,~/.copilot/config.jsonis 131 bytes and only containsfirstLaunchAt, and a binary-aware search of the wholeresources\apptree (rg --text -i snippy) finds no occurrence ofsnippy— not even in the nativecopilot-runtime.exepayloads.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.
williammartin commentedon Oct 19, 2026
Hey @airshakur88,
Thanks for the detailed repro and the
Autocomparison.I think this is fixed by the Copilot SDK update already included in the 3.6.8 beta releases. Desktop
3.6.7ships SDK1.0.13, while both current3.6.8betas ship SDK1.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