GitHub Copilot CLI lets builders use GPT-6.2 Astra, Gemini 4 Hydrogen, and custom models
The release expands model selection in local sessions while improving agent permissions, process cleanup, and memory use for long-running tasks.
- Added models
- GPT-6.2 Astra, Gemini 4 Hydrogen, and MAI-Code-2-Flash
- Custom provider models
- Manage in /model or press Ctrl+X then A in local sessions
- Assisted Permissions
- Reviews later requests after up to 128,000 characters
- Session cleanup
- Drops unread past events from memory; stops orphaned Unix child processes
The release also updates agent permissions and session resource handling. Assisted Permissions now keeps reviewing later requests after a message or an answer to an agent question of up to 128,000 characters, instead of asking for approval every time. Long sessions no longer keep up to thousands of unread past session events in memory, and canceling a shell command on Unix now stops orphaned child processes in the shell's process group.
Developer Tools
Beyond Unix process cleanup, the release notes state that Windows sessions now clean up child processes from Git commands, hooks, and language server checks even after their parent process exits. The update also enables Windows sandbox package queries by default with an opt-out in sandbox.userPolicy.capabilities, and lets macOS sandboxed commands allow specific Mach service lookups through sandbox.userPolicy.seatbelt.extraMachLookups without enabling Keychain access.
The release also changes how tool and hook settings behave. Passing an empty --available-tools value now gives the model no tools instead of every tool, and the disableAllHooks setting description now clarifies that managed policy hooks still run when the setting is turned on.