Open marcinkoziej opened 2 days ago
Lying that editor is VSCode fixes the issue for me. Did Micro$oft start to block 3rd party editors?
diff --git a/src/providers/github.ts b/src/providers/github.ts
index a8e05fa..d6de673 100644
--- a/src/providers/github.ts
+++ b/src/providers/github.ts
@@ -98,8 +98,8 @@ export default class Github extends ApiBase {
"Content-Type": "application/json; charset=utf-8",
"User-Agent": "helix/1.0.0",
"Authorization": `Bearer ${this.copilotSession?.raw}`,
- "Editor-Plugin-Version": "helix-gpt/1.0.0",
- "Editor-Version": "helix/1.0.0",
+ "Editor-Plugin-Version": "vscode/1.95.0",
+ "Editor-Version": "vscode/1.95.0",
"Openai-Intent": "conversation-panel",
"Openai-Organization": "github-copilot",
"VScode-MachineId": genHexStr(64),
helix-editor version 24.3
helix-gpt version Exact version of Helix GPT. commit 2a047347968e (newer then 0.34)
Describe the bug When trying to run code actions against copilot, I get
Fetch failed with status 400 body bad request: unknown Editor-Version header for IDE auth
.What's interesting, is that hints do work! Log:
helix-gpt logs Pasted relevant logs above