mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
committed by
GitHub
Unverified
parent
af2295f130
commit
2a1c8ea1a3
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
||||
@@ -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.
|
||||
/// </remarks>
|
||||
public abstract AgentThread CreateThreadAsync();
|
||||
public abstract Task<AgentThread> CreateThreadAsync();
|
||||
|
||||
/// <summary>
|
||||
/// Run the agent with no message assuming that all required instructions are already provided to the agent or on the thread.
|
||||
|
||||
@@ -259,7 +259,7 @@ public class AgentTests
|
||||
cancellationToken);
|
||||
}
|
||||
|
||||
public override AgentThread CreateThreadAsync()
|
||||
public override Task<AgentThread> CreateThreadAsync()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user