22 lines
776 B
TypeScript
22 lines
776 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { ContentBlockChatOutput } from "./ContentBlockChatOutput";
|
|
import type { FinishReason } from "./FinishReason";
|
|
import type { RawResponseEntry } from "./RawResponseEntry";
|
|
import type { RawUsageEntry } from "./RawUsageEntry";
|
|
import type { Usage } from "./Usage";
|
|
|
|
export type ChatInferenceResponse = {
|
|
inference_id: string;
|
|
episode_id: string;
|
|
variant_name: string;
|
|
content: Array<ContentBlockChatOutput>;
|
|
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;
|
|
};
|