Skip to content

ToolDrift

Namespace: Vercel.AI.GenerateText

public sealed class ToolDrift

Added, removed, and changed tool names.

Inheritance: object

View source

ToolDrift(IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyList<string>)

Section titled “ToolDrift(IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyList<string>)”
public ToolDrift(IReadOnlyList<string> added, IReadOnlyList<string> removed, IReadOnlyList<string> changed)

Creates a drift report.

Parameters

Name Type Description
added IReadOnlyList<string>
removed IReadOnlyList<string>
changed IReadOnlyList<string>

View source

public IReadOnlyList<string> Added { get; }

Tools present only in the current map.

Value: IReadOnlyList<string>

View source

public IReadOnlyList<string> Changed { get; }

Tools whose digest changed.

Value: IReadOnlyList<string>

View source

public IReadOnlyList<string> Removed { get; }

Tools present only in the baseline.

Value: IReadOnlyList<string>

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product