PruneReasoning
Namespace: Vercel.AI.GenerateText
public enum PruneReasoningHow PruneMessages(PruneMessagesOptions) removes reasoning from assistant messages.
Fields
Section titled “Fields”All = 1Remove reasoning from every assistant message.
Value: PruneReasoning
BeforeLastMessage
Section titled “BeforeLastMessage”BeforeLastMessage = 2Remove reasoning from every assistant message except the last message.
Value: PruneReasoning
None = 0Keep all reasoning.
Value: PruneReasoning
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product