ConvertToModelMessagesOptions
Namespace: Vercel.AI.Ui
public sealed class ConvertToModelMessagesOptionsOptions of ConvertToModelMessagesOptions).
Inheritance: object
Properties
Section titled “Properties”ConvertDataPart
Section titled “ConvertDataPart”public Func<DataUIPart, UserContentPart?>? ConvertDataPart { get; set; }Converts a data part to a text or file part. Returns null if the part should be ignored.
Value: Func<DataUIPart, UserContentPart>
IgnoreIncompleteToolCalls
Section titled “IgnoreIncompleteToolCalls”public bool IgnoreIncompleteToolCalls { get; set; }Whether to ignore incomplete tool calls. Default is false.
Value: bool
public IReadOnlyDictionary<string, Tool>? Tools { get; set; }The tools to use, by name.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product