Skip to content

Commit e61e9a6

Browse files
patnikoCopilot
andcommitted
Update scenario model references to claude-sonnet-4.6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6cee34a commit e61e9a6

117 files changed

Lines changed: 125 additions & 125 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

test/scenarios/auth/byok-azure/csharp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
var endpoint = Environment.GetEnvironmentVariable("AZURE_OPENAI_ENDPOINT");
44
var apiKey = Environment.GetEnvironmentVariable("AZURE_OPENAI_API_KEY");
5-
var model = Environment.GetEnvironmentVariable("AZURE_OPENAI_MODEL") ?? "gpt-4.1";
5+
var model = Environment.GetEnvironmentVariable("AZURE_OPENAI_MODEL") ?? "claude-sonnet-4.6";
66
var apiVersion = Environment.GetEnvironmentVariable("AZURE_API_VERSION") ?? "2024-10-21";
77

88
if (string.IsNullOrEmpty(endpoint) || string.IsNullOrEmpty(apiKey))

test/scenarios/auth/byok-azure/go/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func main() {
1818

1919
model := os.Getenv("AZURE_OPENAI_MODEL")
2020
if model == "" {
21-
model = "gpt-4.1"
21+
model = "claude-sonnet-4.6"
2222
}
2323

2424
apiVersion := os.Getenv("AZURE_API_VERSION")

test/scenarios/auth/byok-azure/python/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
AZURE_OPENAI_ENDPOINT = os.environ.get("AZURE_OPENAI_ENDPOINT")
77
AZURE_OPENAI_API_KEY = os.environ.get("AZURE_OPENAI_API_KEY")
8-
AZURE_OPENAI_MODEL = os.environ.get("AZURE_OPENAI_MODEL", "gpt-4.1")
8+
AZURE_OPENAI_MODEL = os.environ.get("AZURE_OPENAI_MODEL", "claude-sonnet-4.6")
99
AZURE_API_VERSION = os.environ.get("AZURE_API_VERSION", "2024-10-21")
1010

1111
if not AZURE_OPENAI_ENDPOINT or not AZURE_OPENAI_API_KEY:

test/scenarios/auth/byok-azure/typescript/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { CopilotClient } from "@github/copilot-sdk";
33
async function main() {
44
const endpoint = process.env.AZURE_OPENAI_ENDPOINT;
55
const apiKey = process.env.AZURE_OPENAI_API_KEY;
6-
const model = process.env.AZURE_OPENAI_MODEL || "gpt-4.1";
6+
const model = process.env.AZURE_OPENAI_MODEL || "claude-sonnet-4.6";
77

88
if (!endpoint || !apiKey) {
99
console.error("Required: AZURE_OPENAI_ENDPOINT and AZURE_OPENAI_API_KEY");

test/scenarios/auth/byok-openai/csharp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using GitHub.Copilot.SDK;
22

33
var apiKey = Environment.GetEnvironmentVariable("OPENAI_API_KEY");
4-
var model = Environment.GetEnvironmentVariable("OPENAI_MODEL") ?? "gpt-4.1-mini";
4+
var model = Environment.GetEnvironmentVariable("OPENAI_MODEL") ?? "claude-sonnet-4.6";
55
var baseUrl = Environment.GetEnvironmentVariable("OPENAI_BASE_URL") ?? "https://api.openai.com/v1";
66

77
if (string.IsNullOrEmpty(apiKey))

test/scenarios/auth/byok-openai/go/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func main() {
2222

2323
model := os.Getenv("OPENAI_MODEL")
2424
if model == "" {
25-
model = "gpt-4.1-mini"
25+
model = "claude-sonnet-4.6"
2626
}
2727

2828
client := copilot.NewClient(&copilot.ClientOptions{})

test/scenarios/auth/byok-openai/python/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from copilot import CopilotClient
55

66
OPENAI_BASE_URL = os.environ.get("OPENAI_BASE_URL", "https://api.openai.com/v1")
7-
OPENAI_MODEL = os.environ.get("OPENAI_MODEL", "gpt-4.1-mini")
7+
OPENAI_MODEL = os.environ.get("OPENAI_MODEL", "claude-sonnet-4.6")
88
OPENAI_API_KEY = os.environ.get("OPENAI_API_KEY")
99

1010
if not OPENAI_API_KEY:

test/scenarios/auth/byok-openai/typescript/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CopilotClient } from "@github/copilot-sdk";
22

33
const OPENAI_BASE_URL = process.env.OPENAI_BASE_URL ?? "https://api.openai.com/v1";
4-
const OPENAI_MODEL = process.env.OPENAI_MODEL ?? "gpt-4.1-mini";
4+
const OPENAI_MODEL = process.env.OPENAI_MODEL ?? "claude-sonnet-4.6";
55
const OPENAI_API_KEY = process.env.OPENAI_API_KEY;
66

77
if (!OPENAI_API_KEY) {

test/scenarios/auth/gh-app/csharp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
{
7070
await using var session = await client.CreateSessionAsync(new SessionConfig
7171
{
72-
Model = "gpt-4.1",
72+
Model = "claude-sonnet-4.6",
7373
});
7474

7575
var response = await session.SendAndWaitAsync(new MessageOptions

test/scenarios/auth/gh-app/go/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func main() {
172172
defer client.Stop()
173173

174174
session, err := client.CreateSession(ctx, &copilot.SessionConfig{
175-
Model: "gpt-4.1",
175+
Model: "claude-sonnet-4.6",
176176
})
177177
if err != nil {
178178
log.Fatal(err)

0 commit comments

Comments
 (0)