Skip to content

Commit 10ff3ed

Browse files
committed
Add all model supported by Github Copilot
- Motivation: - Claude-haiku-4.5 and Grok-code-fast-1 have small premium request multiplier - And gpt-4o has probably some use-cases as well :-)
1 parent 2252098 commit 10ff3ed

File tree

3 files changed

+22
-9
lines changed

3 files changed

+22
-9
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.0
67

integration-test/integration/initialize_test.clj

Lines changed: 14 additions & 6 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-sonnet-4.5"
21-
"github-copilot/gemini-2.5-pro"
22-
"github-copilot/gpt-4.1"
20+
"github-copilot/claude-haiku-4.5"
21+
"github-copilot/claude-opus-4.1"
22+
"github-copilot-claude-sonnet-4.5"
2323
"github-copilot/gpt-5"
2424
"github-copilot/gpt-5-mini"
25+
"github-copilot/gpt-4.1"
26+
"github-copilot/gpt-4o"
27+
"github-copilot/grok-code-fast-1"
28+
"github-copilot/gemini-2.5-pro"
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"
80-
"github-copilot/claude-sonnet-4.5"
81-
"github-copilot/gemini-2.5-pro"
82-
"github-copilot/gpt-4.1"
84+
"github-copilot/claude-haiku-4.5"
85+
"github-copilot/claude-opus-4.1"
86+
"github-copilot-claude-sonnet-4.5"
8387
"github-copilot/gpt-5"
8488
"github-copilot/gpt-5-mini"
89+
"github-copilot/gpt-4.1"
90+
"github-copilot/gpt-4o"
91+
"github-copilot/grok-code-fast-1"
92+
"github-copilot/gemini-2.5-pro"
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)