Skip to content

Commit 7467619

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 7467619

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
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: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,15 @@
7777
"anthropic/claude-opus-4-20250514"
7878
"anthropic/claude-sonnet-4-20250514"
7979
"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"
80+
"github-copilot/claude-haiku-4.5"
81+
"github-copilot/claude-opus-4.1"
82+
"github-copilot-claude-sonnet-4.5"
8383
"github-copilot/gpt-5"
8484
"github-copilot/gpt-5-mini"
85+
"github-copilot/gpt-4.1"
86+
"github-copilot/gpt-4o"
87+
"github-copilot/grok-code-fast-1"
88+
"github-copilot/gemini-2.5-pro"
8589
"google/gemini-2.0-flash"
8690
"google/gemini-2.5-pro"
8791
"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)