@@ -47,7 +47,7 @@ const client = new CopilotClient();
4747await client .start ();
4848
4949const session = await client .createSession ({
50- model: " gpt-4.1 " ,
50+ model: " gpt-5.4 " ,
5151 onPermissionRequest : async () => ({ kind: " approve-once" }),
5252});
5353
@@ -75,7 +75,7 @@ await client.start()
7575
7676session = await client.create_session(
7777 on_permission_request = lambda req , inv : PermissionDecisionApproveOnce(),
78- model = " gpt-4.1 " ,
78+ model = " gpt-5.4 " ,
7979)
8080
8181await session.send(
@@ -110,7 +110,7 @@ func main() {
110110 client.Start (ctx)
111111
112112 session , _ := client.CreateSession (ctx, &copilot.SessionConfig {
113- Model: " gpt-4.1 " ,
113+ Model: " gpt-5.4 " ,
114114 OnPermissionRequest: func (req copilot.PermissionRequest , inv copilot.PermissionInvocation ) (rpc.PermissionDecision , error ) {
115115 return &rpc.PermissionDecisionApproveOnce {}, nil
116116 },
@@ -136,7 +136,7 @@ client := copilot.NewClient(nil)
136136client.Start (ctx)
137137
138138session , _ := client.CreateSession (ctx, &copilot.SessionConfig {
139- Model : " gpt-4.1 " ,
139+ Model : " gpt-5.4 " ,
140140 OnPermissionRequest : func (req copilot.PermissionRequest , inv copilot.PermissionInvocation ) (rpc.PermissionDecision , error ) {
141141 return &rpc.PermissionDecisionApproveOnce {}, nil
142142 },
@@ -171,7 +171,7 @@ public static class ImageInputExample
171171 await using var client = new CopilotClient ();
172172 await using var session = await client .CreateSessionAsync (new SessionConfig
173173 {
174- Model = " gpt-4.1 " ,
174+ Model = " gpt-5.4 " ,
175175 OnPermissionRequest = (req , inv ) =>
176176 Task .FromResult (PermissionDecision .ApproveOnce ()),
177177 });
@@ -200,7 +200,7 @@ using GitHub.Copilot.Rpc;
200200await using var client = new CopilotClient ();
201201await using var session = await client .CreateSessionAsync (new SessionConfig
202202{
203- Model = " gpt-4.1 " ,
203+ Model = " gpt-5.4 " ,
204204 OnPermissionRequest = (req , inv ) =>
205205 Task .FromResult (PermissionDecision .ApproveOnce ()),
206206});
@@ -234,7 +234,7 @@ try (var client = new CopilotClient()) {
234234
235235 var session = client. createSession(
236236 new SessionConfig ()
237- .setModel(" gpt-4.1 " )
237+ .setModel(" gpt-5.4 " )
238238 .setOnPermissionRequest(PermissionHandler . APPROVE_ALL )
239239 ). get();
240240
@@ -263,7 +263,7 @@ const client = new CopilotClient();
263263await client .start ();
264264
265265const session = await client .createSession ({
266- model: " gpt-4.1 " ,
266+ model: " gpt-5.4 " ,
267267 onPermissionRequest : async () => ({ kind: " approve-once" }),
268268});
269269
@@ -294,7 +294,7 @@ await client.start()
294294
295295session = await client.create_session(
296296 on_permission_request = lambda req , inv : PermissionDecisionApproveOnce(),
297- model = " gpt-4.1 " ,
297+ model = " gpt-5.4 " ,
298298)
299299
300300base64_image_data = " ..." # your base64-encoded image
@@ -332,7 +332,7 @@ func main() {
332332 client.Start (ctx)
333333
334334 session , _ := client.CreateSession (ctx, &copilot.SessionConfig {
335- Model: " gpt-4.1 " ,
335+ Model: " gpt-5.4 " ,
336336 OnPermissionRequest: func (req copilot.PermissionRequest , inv copilot.PermissionInvocation ) (rpc.PermissionDecision , error ) {
337337 return &rpc.PermissionDecisionApproveOnce {}, nil
338338 },
@@ -387,7 +387,7 @@ public static class BlobAttachmentExample
387387 await using var client = new CopilotClient ();
388388 await using var session = await client .CreateSessionAsync (new SessionConfig
389389 {
390- Model = " gpt-4.1 " ,
390+ Model = " gpt-5.4 " ,
391391 OnPermissionRequest = (req , inv ) =>
392392 Task .FromResult (PermissionDecision .ApproveOnce ()),
393393 });
@@ -442,7 +442,7 @@ try (var client = new CopilotClient()) {
442442
443443 var session = client. createSession(
444444 new SessionConfig ()
445- .setModel(" gpt-4.1 " )
445+ .setModel(" gpt-5.4 " )
446446 .setOnPermissionRequest(PermissionHandler . APPROVE_ALL )
447447 ). get();
448448
0 commit comments