29 lines
975 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ChatTemplates } from "./ChatTemplates";
import type { JsonMode } from "./JsonMode";
import type { RetryConfig } from "./RetryConfig";
import type { ServiceTier } from "./ServiceTier";
/**
* DEPRECATED (#5298 / 2026.2+): Chain of thought variant is deprecated now that reasoning models are prevalent.
* Use `chat_completion` with reasoning instead.
*/
export type ChainOfThoughtConfig = {
weight: number | null;
model: string;
templates: ChatTemplates;
temperature: number | null;
top_p: number | null;
max_tokens: number | null;
presence_penalty: number | null;
frequency_penalty: number | null;
seed: number | null;
stop_sequences: Array<string> | null;
json_mode: JsonMode | null;
retries: RetryConfig;
reasoning_effort?: string;
service_tier?: ServiceTier;
thinking_budget_tokens?: number;
verbosity?: string;
};