Class RegexToolOptions
Configuration options shared by all regex tools.
public sealed class RegexToolOptions
- Inheritance
-
RegexToolOptions
- Inherited Members
Examples
Tightening the timeout and match cap on user-supplied regex patterns:
using LMKit.Agents.Tools.BuiltIn.Text;
var options = new RegexToolOptions
{
Timeout = TimeSpan.FromSeconds(1),
MaxMatches = 100
};
Properties
- MaxMatches
Gets or sets maximum matches to return. Default is 1000.
- Timeout
Gets or sets the regex execution timeout. Default is 5 seconds.