Skip to content

Commit 546a77e

Browse files
committed
docs: fix model name and .NET type annotation
- Changed 'gpt-4.1' to 'gpt-5' for consistency with codebase - Fixed .NET McpServers type to Dictionary<string, object>
1 parent 601f4e8 commit 546a77e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/mcp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { CopilotClient } from "@github/copilot-sdk";
3232

3333
const client = new CopilotClient();
3434
const session = await client.createSession({
35-
model: "gpt-4.1",
35+
model: "gpt-5",
3636
mcpServers: {
3737
// Local MCP server (stdio)
3838
"my-local-server": {
@@ -66,7 +66,7 @@ async def main():
6666
await client.start()
6767

6868
session = await client.create_session({
69-
"model": "gpt-4.1",
69+
"model": "gpt-5",
7070
"mcp_servers": {
7171
# Local MCP server (stdio)
7272
"my-local-server": {
@@ -142,8 +142,8 @@ using GitHub.Copilot.SDK;
142142
await using var client = new CopilotClient();
143143
await using var session = await client.CreateSessionAsync(new SessionConfig
144144
{
145-
Model = "gpt-4.1",
146-
McpServers = new Dictionary<string, McpServerConfig>
145+
Model = "gpt-5",
146+
McpServers = new Dictionary<string, object>
147147
{
148148
["my-local-server"] = new McpLocalServerConfig
149149
{

0 commit comments

Comments
 (0)