Skip to content

Commit ec51cd4

Browse files
committed
Update copilot models
1 parent 96bad14 commit ec51cd4

File tree

4 files changed

+20
-22
lines changed

4 files changed

+20
-22
lines changed

docs/models.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ After configuring custom providers, the models will be available as `provider/mo
141141
1. Login to Github copilot via the chat command `/login github-copilot`.
142142
2. Authenticate in Github with the given code.
143143
3. Type anything in the chat to continue and done!
144-
144+
145+
_Tip: check [Your Copilot plan](https://github.com/settings/copilot/features) to enable models to your account._
145146

146147
=== "LiteLLM"
147148

integration-test/integration/chat/github_copilot_test.clj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
(let [req-id 0
2222
resp (eca/request! (fixture/chat-prompt-request
2323
{:request-id req-id
24-
:model "github-copilot/gpt-4o"
24+
:model "github-copilot/gpt-5"
2525
:message "Tell me a joke!"}))
2626
chat-id (reset! chat-id* (:chatId resp))]
2727

2828
(is (match?
2929
{:chatId (m/pred string?)
30-
:model "github-copilot/gpt-4o"
30+
:model "github-copilot/gpt-5"
3131
:status "success"}
3232
resp))
3333

@@ -48,13 +48,13 @@
4848
resp (eca/request! (fixture/chat-prompt-request
4949
{:chat-id @chat-id*
5050
:request-id req-id
51-
:model "github-copilot/gpt-4o"
51+
:model "github-copilot/gpt-5"
5252
:message "Who's there?"}))
5353
chat-id @chat-id*]
5454

5555
(is (match?
5656
{:chatId (m/pred string?)
57-
:model "github-copilot/gpt-4o"
57+
:model "github-copilot/gpt-5"
5858
:status "success"}
5959
resp))
6060

@@ -76,13 +76,13 @@
7676
resp (eca/request! (fixture/chat-prompt-request
7777
{:chat-id @chat-id*
7878
:request-id req-id
79-
:model "github-copilot/gpt-4o"
79+
:model "github-copilot/gpt-5"
8080
:message "What foo?"}))
8181
chat-id @chat-id*]
8282

8383
(is (match?
8484
{:chatId (m/pred string?)
85-
:model "github-copilot/gpt-4o"
85+
:model "github-copilot/gpt-5"
8686
:status "success"}
8787
resp))
8888

@@ -115,13 +115,13 @@
115115
(let [req-id 0
116116
resp (eca/request! (fixture/chat-prompt-request
117117
{:request-id req-id
118-
:model "github-copilot/gpt-4o"
118+
:model "github-copilot/gpt-5"
119119
:message "hello!"}))
120120
chat-id (reset! chat-id* (:chatId resp))]
121121

122122
(is (match?
123123
{:chatId (m/pred string?)
124-
:model "github-copilot/gpt-4o"
124+
:model "github-copilot/gpt-5"
125125
:status "success"}
126126
resp))
127127

@@ -152,13 +152,13 @@
152152
resp (eca/request! (fixture/chat-prompt-request
153153
{:request-id req-id
154154
:chat-id @chat-id*
155-
:model "github-copilot/gpt-4o"
155+
:model "github-copilot/gpt-5"
156156
:message "how are you?"}))
157157
chat-id @chat-id*]
158158

159159
(is (match?
160160
{:chatId (m/pred string?)
161-
:model "github-copilot/gpt-4o"
161+
:model "github-copilot/gpt-5"
162162
:status "success"}
163163
resp))
164164

@@ -202,13 +202,13 @@
202202
(let [req-id 0
203203
resp (eca/request! (fixture/chat-prompt-request
204204
{:request-id req-id
205-
:model "github-copilot/gpt-4o"
205+
:model "github-copilot/gpt-5"
206206
:message "What files you see?"}))
207207
chat-id (reset! chat-id* (:chatId resp))]
208208

209209
(is (match?
210210
{:chatId (m/pred string?)
211-
:model "github-copilot/gpt-4o"
211+
:model "github-copilot/gpt-5"
212212
:status "success"}
213213
resp))
214214

integration-test/integration/initialize_test.clj

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@
1818
"anthropic/claude-opus-4-1-20250805"
1919
"anthropic/claude-opus-4-20250514"
2020
"anthropic/claude-sonnet-4-20250514"
21+
"github-copilot/gpt-5"
2122
"github-copilot/gpt-5-mini"
2223
"github-copilot/gpt-4.1"
23-
"github-copilot/gpt-4o"
24-
"github-copilot/claude-3.5-sonnet"
25-
"github-copilot/gemini-2.0-flash-001"
24+
"github-copilot/claude-sonnet-4"
2625
"openai/gpt-4.1"
2726
"openai/gpt-5"
2827
"openai/gpt-5-mini"
@@ -65,11 +64,10 @@
6564
"anthropic/claude-opus-4-1-20250805"
6665
"anthropic/claude-opus-4-20250514"
6766
"anthropic/claude-sonnet-4-20250514"
67+
"github-copilot/gpt-5"
6868
"github-copilot/gpt-5-mini"
6969
"github-copilot/gpt-4.1"
70-
"github-copilot/gpt-4o"
71-
"github-copilot/claude-3.5-sonnet"
72-
"github-copilot/gemini-2.0-flash-001"
70+
"github-copilot/claude-sonnet-4"
7371
"myCustom/bar-2"
7472
"myCustom/foo-1"
7573
"openai/gpt-4.1"

src/eca/config.clj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@
3939
"openai/gpt-4.1" {}
4040
"openai/o4-mini" {}
4141
"openai/o3" {}
42+
"github-copilot/gpt-5" {}
4243
"github-copilot/gpt-5-mini" {}
4344
"github-copilot/gpt-4.1" {}
44-
"github-copilot/gpt-4o" {}
45-
"github-copilot/claude-3.5-sonnet" {}
46-
"github-copilot/gemini-2.0-flash-001" {}
45+
"github-copilot/claude-sonnet-4" {}
4746
"anthropic/claude-sonnet-4-20250514" {:extraPayload {:thinking {:type "enabled" :budget_tokens 2048}}}
4847
"anthropic/claude-opus-4-1-20250805" {:extraPayload {:thinking {:type "enabled" :budget_tokens 2048}}}
4948
"anthropic/claude-opus-4-20250514" {:extraPayload {:thinking {:type "enabled" :budget_tokens 2048}}}

0 commit comments

Comments
 (0)