feat: add GitHub Copilot provider

Copilot device login + onboarding option; model list auth detection.
This commit is contained in:
Mustafa Tag Eldeen authored and Peter Steinberger committed 2026-01-12 16:52:15 +00:00
1 parent 717a259056
commit 3da1afed68
19 files changed
+926 -1122

No files matched your search

+2 -1
View File
@@ -1407,7 +1407,8 @@ export type ModelApi =
| "openai-completions"
| "openai-responses"
| "anthropic-messages"
| "google-generative-ai";
| "google-generative-ai"
| "github-copilot";
export type ModelCompatConfig = {
supportsStore?: boolean;
+1
View File
@@ -8,6 +8,7 @@ const ModelApiSchema = z.union([
z.literal("openai-responses"),
z.literal("anthropic-messages"),
z.literal("google-generative-ai"),
z.literal("github-copilot"),
]);
const ModelCompatSchema = z