From 45b522735c91a8fbae7ac5cbfa50a32deaa5a6e4 Mon Sep 17 00:00:00 2001 From: OpeOginni Date: Thu, 2 Oct 2025 17:46:51 +0200 Subject: [PATCH 1/2] chore: update npm package for GitHub Copilot provider to one that supports codex model and `responses` --- providers/github-copilot/provider.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/github-copilot/provider.toml b/providers/github-copilot/provider.toml index 6ba3a870..7c770b9f 100644 --- a/providers/github-copilot/provider.toml +++ b/providers/github-copilot/provider.toml @@ -1,5 +1,5 @@ name = "GitHub Copilot" env = ["GITHUB_TOKEN"] -npm = "@ai-sdk/openai-compatible" +npm = "@opeoginni/github-copilot-openai-compatible" doc = "https://docs.github.com/en/copilot" api= "https://api.githubcopilot.com" From 65c2c50b1e460fc484c96cc6d8d55a1a45ab60e4 Mon Sep 17 00:00:00 2001 From: OpeOginni Date: Sat, 4 Oct 2025 22:21:25 +0200 Subject: [PATCH 2/2] Got rid of the `api` part as it seems to be locked on a particular package - This package works without setting a baseURL since it is default for github-copilot-api --- providers/github-copilot/provider.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/providers/github-copilot/provider.toml b/providers/github-copilot/provider.toml index 7c770b9f..0bc0a268 100644 --- a/providers/github-copilot/provider.toml +++ b/providers/github-copilot/provider.toml @@ -1,5 +1,4 @@ name = "GitHub Copilot" env = ["GITHUB_TOKEN"] npm = "@opeoginni/github-copilot-openai-compatible" -doc = "https://docs.github.com/en/copilot" -api= "https://api.githubcopilot.com" +doc = "https://docs.github.com/en/copilot" \ No newline at end of file