Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { ChatCompletionFinishReason } from "@openrouter/sdk/models";

let value: ChatCompletionFinishReason = "error";

Values

This is an open enum. Unrecognized values will be captured as the Unrecognized<string> branded type.
"tool_calls" | "stop" | "length" | "content_filter" | "error" | Unrecognized<string>