From b5756bf72907e8d18744cac8710cabc05608cc0e Mon Sep 17 00:00:00 2001 From: ultraplan-bit <248279703+ultraplan-bit@users.noreply.github.com> Date: Tue, 17 Feb 2026 21:17:18 +0800 Subject: [PATCH] Fix Copilot 0x model incorrectly consuming premium requests Change Openai-Intent header from "conversation-edits" to "conversation-panel" to avoid triggering GitHub's premium execution path, which caused included models (0x multiplier) to be billed as premium requests. Co-Authored-By: Claude Opus 4.6 --- internal/runtime/executor/github_copilot_executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/runtime/executor/github_copilot_executor.go b/internal/runtime/executor/github_copilot_executor.go index 173c4752..95f8ef17 100644 --- a/internal/runtime/executor/github_copilot_executor.go +++ b/internal/runtime/executor/github_copilot_executor.go @@ -39,7 +39,7 @@ const ( copilotEditorVersion = "vscode/1.107.0" copilotPluginVersion = "copilot-chat/0.35.0" copilotIntegrationID = "vscode-chat" - copilotOpenAIIntent = "conversation-edits" + copilotOpenAIIntent = "conversation-panel" ) // GitHubCopilotExecutor handles requests to the GitHub Copilot API.