25 lines
455 B
C#
25 lines
455 B
C#
#if TOOLS
|
|
|
|
using System.Threading;
|
|
|
|
namespace Rokojori.Tools
|
|
{
|
|
using Rokojori;
|
|
|
|
public class PendingToolCall
|
|
{
|
|
public string toolName;
|
|
public JSONObject arguments;
|
|
public ManualResetEventSlim waitHandle = new ManualResetEventSlim( false );
|
|
public ToolCallOutcome outcome;
|
|
|
|
public PendingToolCall( string toolName, JSONObject arguments )
|
|
{
|
|
this.toolName = toolName;
|
|
this.arguments = arguments;
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif
|