CompletionFinishReason - TypeScript SDK

CompletionFinishReason type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { CompletionFinishReason } from "@openrouter/sdk/models";
2
3let value: CompletionFinishReason = "length";

Values

This is an open enum. Unrecognized values will be captured as the Unrecognized<string> branded type.

1"stop" | "length" | "content_filter" | Unrecognized<string>