Skip to content

Truncation

The truncation strategy for handling inputs that exceed the model's context window. 'auto' automatically truncates old messages to fit, 'disabled' returns an error if context is too long. Defaults to 'disabled'.

Example Usage

typescript
import { Truncation } from "@meetkai/mka1/models/operations";

let value: Truncation = "disabled";

Values

typescript
"auto" | "disabled"