diff --git a/dotnet/nuget.config b/dotnet/nuget.config new file mode 100644 index 0000000000..996a924ac0 --- /dev/null +++ b/dotnet/nuget.config @@ -0,0 +1,7 @@ + + + + + + + diff --git a/dotnet/src/Microsoft.Agents.Abstractions/Agent.cs b/dotnet/src/Microsoft.Agents.Abstractions/Agent.cs index 7f2a17b23c..6fbd00add8 100644 --- a/dotnet/src/Microsoft.Agents.Abstractions/Agent.cs +++ b/dotnet/src/Microsoft.Agents.Abstractions/Agent.cs @@ -46,7 +46,7 @@ public abstract class Agent /// If an agent supports multiple thread types, this method should return the default thread /// type for the agent or whatever the agent was configured to use. /// - public abstract AgentThread CreateThreadAsync(); + public abstract Task CreateThreadAsync(); /// /// Run the agent with no message assuming that all required instructions are already provided to the agent or on the thread. diff --git a/dotnet/tests/Microsoft.Agents.Abstractions.UnitTests/AgentTests.cs b/dotnet/tests/Microsoft.Agents.Abstractions.UnitTests/AgentTests.cs index 5f51c5beb7..b0347c9491 100644 --- a/dotnet/tests/Microsoft.Agents.Abstractions.UnitTests/AgentTests.cs +++ b/dotnet/tests/Microsoft.Agents.Abstractions.UnitTests/AgentTests.cs @@ -259,7 +259,7 @@ public class AgentTests cancellationToken); } - public override AgentThread CreateThreadAsync() + public override Task CreateThreadAsync() { throw new System.NotImplementedException(); }