Hi,
Issue context:
Both are connected to the same GH user. When CliPath is null, I do not receive the Opus 4.6 and GPT 5.3 Codex models contrary to when I call it with a specific path pointing to the Copilot CLI installed via WinGet on Windows.
I forced the UseLoggedInUser to false to ensure that it doesn't pick up anything else than the GH Token that I pass in the options from which I do a Device Flow in my application.
CopilotClientOptions options = new()
{
GithubToken = token,
CliPath = cliPath, // passing either null for SDK version OR complete path to WinGet installed version
UseLoggedInUser = false,
};
Logs from the DEBUG jsonrpc calls:
Response 1 (first session using CLI via SDK from build directory):
GPT-5.2
GPT-5 mini
GPT-4.1
Response 2 (second session using installed CLI via WinGet):
Claude Opus 4.6
GPT-5.3-Codex
GPT-5.2
GPT-5 mini
GPT-4.1
Expected behavior:
Same list of models returned