Skip to content

Commit df5adea

Browse files
authored
Merge pull request #185 from editor-code-assistant/improve-github-copilot-model-selection
Add all model supported by Github Copilot
2 parents c9269a1 + 3b4cd69 commit df5adea

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
## Unreleased
4+
- Add missing models supported by Github Copilot
45

56
## 0.75.1
67

integration-test/integration/initialize_test.clj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@
1717
"anthropic/claude-opus-4-20250514"
1818
"anthropic/claude-sonnet-4-20250514"
1919
"anthropic/claude-sonnet-4-5-20250929"
20+
"github-copilot/claude-haiku-4.5"
21+
"github-copilot/claude-opus-4.1"
2022
"github-copilot/claude-sonnet-4.5"
2123
"github-copilot/gemini-2.5-pro"
2224
"github-copilot/gpt-4.1"
25+
"github-copilot/gpt-4o"
2326
"github-copilot/gpt-5"
2427
"github-copilot/gpt-5-mini"
28+
"github-copilot/grok-code-fast-1"
2529
"google/gemini-2.0-flash"
2630
"google/gemini-2.5-pro"
2731
"openai/gpt-4.1"
@@ -77,11 +81,15 @@
7781
"anthropic/claude-opus-4-20250514"
7882
"anthropic/claude-sonnet-4-20250514"
7983
"anthropic/claude-sonnet-4-5-20250929"
84+
"github-copilot/claude-haiku-4.5"
85+
"github-copilot/claude-opus-4.1"
8086
"github-copilot/claude-sonnet-4.5"
8187
"github-copilot/gemini-2.5-pro"
8288
"github-copilot/gpt-4.1"
89+
"github-copilot/gpt-4o"
8390
"github-copilot/gpt-5"
8491
"github-copilot/gpt-5-mini"
92+
"github-copilot/grok-code-fast-1"
8593
"google/gemini-2.0-flash"
8694
"google/gemini-2.5-pro"
8795
"my-custom/bar2"

src/eca/config.clj

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,15 @@
5858
:url "https://api.githubcopilot.com"
5959
:key nil ;; not supported, requires login auth
6060
:keyEnv nil ;; not supported, requires login auth
61-
:models {"gpt-5" {}
61+
:models {"claude-haiku-4.5" {}
62+
"claude-opus-4.1" {}
63+
"claude-sonnet-4.5" {}
64+
"gpt-5" {}
6265
"gpt-5-mini" {}
6366
"gpt-4.1" {}
64-
"gemini-2.5-pro" {}
65-
"claude-sonnet-4.5" {}}}
67+
"gpt-4o" {}
68+
"grok-code-fast-1" {}
69+
"gemini-2.5-pro" {}}}
6670
"google" {:api "openai-chat"
6771
:url "https://generativelanguage.googleapis.com/v1beta/openai"
6872
:key nil

0 commit comments

Comments
 (0)