Skip to content

A programming framework for agentic AI

removed unused code (#3940)

Ryan Sweet8f6dc4e1dd53
diff --git a/dotnet/src/Microsoft.AutoGen/Abstractions/IAgent.cs b/dotnet/src/Microsoft.AutoGen/Abstractions/IAgent.cs
deleted file mode 100644
index 834e5678a..000000000
--- a/dotnet/src/Microsoft.AutoGen/Abstractions/IAgent.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace Microsoft.AutoGen.Abstractions;
-
-public interface IAgent
-{
- Task HandleEvent(CloudEvent item);
- Task PublishEvent(CloudEvent item);
-}
diff --git a/dotnet/src/Microsoft.AutoGen/Abstractions/IAiAgent.cs b/dotnet/src/Microsoft.AutoGen/Abstractions/IAiAgent.cs
deleted file mode 100644
index 47105eaca..000000000
--- a/dotnet/src/Microsoft.AutoGen/Abstractions/IAiAgent.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-
-using Microsoft.SemanticKernel;
-using Microsoft.SemanticKernel.Connectors.OpenAI;
-
-namespace Microsoft.AutoGen.Abstractions;
-
-public interface IAiAgent : IAgent
-{
- void AddToHistory(string message, ChatUserType userType);
- string AppendChatHistory(string ask);
- Task<string> CallFunction(string template, KernelArguments arguments, OpenAIPromptExecutionSettings? settings = null);
- Task<KernelArguments> AddKnowledge(string instruction, string index, KernelArguments arguments);
-}