Class
ToolRunner
Executes a chat request with tool calls resolved locally.
Inheritance
- Object
- ToolRunner
Methods
public static async Task<ToolRunResult> RunAsync(IntelligenceXClient client, ChatInput input, ChatOptions options, ToolRegistry registry, ToolRunnerOptions runnerOptions = null, CancellationToken cancellationToken = null) #Returns:
Task<ToolRunResult>Runs a chat request and executes tool calls until completion.
Parameters
- client IntelligenceX.OpenAI.IntelligenceXClient
- OpenAI client instance.
- input IntelligenceX.OpenAI.Chat.ChatInput
- Chat input.
- options IntelligenceX.OpenAI.Chat.ChatOptions
- Chat options (tools will be injected).
- registry IntelligenceX.OpenAI.Tools.ToolRegistry
- Tool registry.
- runnerOptions IntelligenceX.OpenAI.Tools.ToolRunnerOptions = null
- Runner options.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object