From 717a8813421fc6e5566f1ef3423eb995f70a1503 Mon Sep 17 00:00:00 2001 From: Jose Arriaga Maldonado Date: Tue, 9 Sep 2025 10:17:32 -0700 Subject: [PATCH] Fix typo in missing MCP example --- examples/Responses/Example05_RemoteMcp.cs | 2 +- examples/Responses/Example05_RemoteMcpAsync.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Responses/Example05_RemoteMcp.cs b/examples/Responses/Example05_RemoteMcp.cs index dbaf946f9..94de6ad34 100644 --- a/examples/Responses/Example05_RemoteMcp.cs +++ b/examples/Responses/Example05_RemoteMcp.cs @@ -31,7 +31,7 @@ public void Example05_RemoteMcp() OpenAIResponseClient client = new(model: "gpt-5", apiKey: Environment.GetEnvironmentVariable("OPENAI_API_KEY")); - OpenAIResponse response = client.CreateResponse("Roll 2d4+1"); + OpenAIResponse response = client.CreateResponse("Roll 2d4+1", options); Console.WriteLine($"[ASSISTANT]: {response.GetOutputText()}"); } diff --git a/examples/Responses/Example05_RemoteMcpAsync.cs b/examples/Responses/Example05_RemoteMcpAsync.cs index 7ac4d3640..ecdcb293c 100644 --- a/examples/Responses/Example05_RemoteMcpAsync.cs +++ b/examples/Responses/Example05_RemoteMcpAsync.cs @@ -32,7 +32,7 @@ public async Task Example05_RemoteMcpAsync() OpenAIResponseClient client = new(model: "gpt-5", apiKey: Environment.GetEnvironmentVariable("OPENAI_API_KEY")); - OpenAIResponse response = await client.CreateResponseAsync("Roll 2d4+1"); + OpenAIResponse response = await client.CreateResponseAsync("Roll 2d4+1", options); Console.WriteLine($"[ASSISTANT]: {response.GetOutputText()}"); }