Update to M.E.AI 9.3.0-preview.1.25161.3 (#61)
This commit is contained in:
parent
24c706b4ff
commit
fe632617dc
1 changed files with 20 additions and 142 deletions
|
|
@ -1,10 +1,10 @@
|
|||
using McpDotNet.Client;
|
||||
using McpDotNet.Configuration;
|
||||
using McpDotNet.Extensions.AI;
|
||||
using McpDotNet.Protocol.Transport;
|
||||
using Microsoft.Extensions.AI;
|
||||
using Microsoft.Extensions.Logging.Abstractions;
|
||||
using OpenAI;
|
||||
using SimpleToolsConsole;
|
||||
|
||||
internal class Program
|
||||
{
|
||||
|
|
@ -81,7 +81,7 @@ internal class Program
|
|||
|
||||
// Call the chat client
|
||||
Console.WriteLine("Asking GPT-4o-mini to call the Echo Tool...");
|
||||
var response = chatClient.CompleteStreamingAsync(
|
||||
var response = chatClient.GetStreamingResponseAsync(
|
||||
messages,
|
||||
new() { Tools = mappedTools });
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue