Skip to content

ToolInputEncoding

Namespace: Vercel.AI.Provider

public enum ToolInputEncoding

Encoding of the deltas that follow a tool-input-start part.

View source

Json = 0

The deltas concatenate to JSON text.

Value: ToolInputEncoding

View source

Text = 1

The deltas concatenate to a raw string, such as OpenAI custom-tool code or HTML.

Value: ToolInputEncoding

View source

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