File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import { CopilotClient } from "@github/copilot-sdk";
3232
3333const client = new CopilotClient ();
3434const 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;
142142await using var client = new CopilotClient ();
143143await 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 {
You can’t perform that action at this time.
0 commit comments