Skip to content

Commit f554062

Browse files
committed
fix(copilot): use general copilot base url
1 parent 0f17d2e commit f554062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/codecompanion/adapters/copilot.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ local function get_models(self, opts)
145145
end
146146

147147
get_and_authorize_token()
148-
local url = "https://api.individual.githubcopilot.com"
148+
local url = "https://api.githubcopilot.com"
149149
local headers = _cached_adapter.headers
150150
headers["Authorization"] = "Bearer " .. _github_token.token
151151

0 commit comments

Comments
 (0)