effect-io-ai

Package: @effect/ai
Module: Response

Response.FinishReason

Represents the reason why a model finished generation of a response.

Possible finish reasons:

Signature

declare const FinishReason: Schema.Literal<["stop", "length", "content-filter", "tool-calls", "error", "pause", "other", "unknown"]>

Source

Since v1.0.0