CachedFoundryToolCatalog(Nullable<TimeSpan>, Int64) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CachedFoundryToolCatalog class.
protected CachedFoundryToolCatalog(TimeSpan? cacheTtl = default, long maxCacheEntries = 1024);
new Azure.AI.AgentServer.Core.Tools.Runtime.Catalog.CachedFoundryToolCatalog : Nullable<TimeSpan> * int64 -> Azure.AI.AgentServer.Core.Tools.Runtime.Catalog.CachedFoundryToolCatalog
Protected Sub New (Optional cacheTtl As Nullable(Of TimeSpan) = Nothing, Optional maxCacheEntries As Long = 1024)
Parameters
The time-to-live for cached tool metadata. Defaults to 10 minutes (600 seconds).
- maxCacheEntries
- Int64
The maximum number of entries to cache. Defaults to 1024.