#9164: feat(apply_patch): enable for github-copilot provider
agents
stale
Cluster:
GitHub Copilot Enhancements
…docs
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR extends the existing `apply_patch` gating logic so the GitHub Copilot provider is treated like OpenAI for the purpose of enabling `tools.exec.applyPatch` when permitted by tool policy. It also updates the config schema help text to document Copilot support and an example allowlist entry format.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with minimal risk.
- Change is narrowly scoped to provider name normalization used for apply_patch gating and corresponding help text updates; no behavior change outside that flag path was found.
- No files require special attention
<!-- greptile_other_comments_section -->
<sub>(4/5) You can add custom instructions or style guidelines for the agent [here](https://app.greptile.com/review/github)!</sub>
**Context used:**
- Context from `dashboard` - CLAUDE.md ([source](https://app.greptile.com/review/custom-context?memory=fd949e91-5c3a-4ab5-90a1-cbe184fd6ce8))
- Context from `dashboard` - AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=0d0c8278-ef8e-4d6c-ab21-f5527e322f13))
<!-- /greptile_comment -->
Most Similar PRs
#13505: feat(copilot): add GitHub Enterprise Cloud (GHE.com) support for Co...
by kryptus47 · 2026-02-10
77.9%
#15197: fix: allow OpenAI auth profiles for OpenAI-compatible providers
by bufordtjustice2918 · 2026-02-13
74.4%
#8467: fix(github-copilot): add configurable IDE headers + fix null filtering
by ericchansen · 2026-02-04
74.0%
#9339: fix: enhance OpenAI compatibility for tool calling
by 0xrushi · 2026-02-05
73.1%
#4364: fix(github-copilot): use gho_ tokens directly without exchange
by RebelSyntax · 2026-01-30
73.1%
#13833: Cursor/cloud agent 1770777372587 3zom0
by zhch158 · 2026-02-11
72.8%
#15852: fix: pass agentId when resolving IRC session paths
by MisterGuy420 · 2026-02-14
72.6%
#19311: feat: add github-copilot gpt-5.3-codex with xhigh support (AI-assis...
by mrutunjay-kinagi · 2026-02-17
72.4%
#11447: feat(providers): add Claude models to GitHub Copilot provider
by yylonly · 2026-02-07
72.0%
#8203: fix clawdbot references
by anton-roos · 2026-02-03
71.1%