22 lines
759 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { FinishReason } from "./FinishReason";
import type { JsonInferenceOutput } from "./JsonInferenceOutput";
import type { RawResponseEntry } from "./RawResponseEntry";
import type { RawUsageEntry } from "./RawUsageEntry";
import type { Usage } from "./Usage";
export type JsonInferenceResponse = {
inference_id: string;
episode_id: string;
variant_name: string;
output: JsonInferenceOutput;
usage: Usage;
raw_usage?: Array<RawUsageEntry>;
/**
* DEPRECATED (#5697 / 2026.4+): Use `raw_response` instead.
*/
original_response?: string;
raw_response?: Array<RawResponseEntry>;
finish_reason: FinishReason | null;
};