15 lines
525 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Text } from "./Text";
import type { Thought } from "./Thought";
import type { ToolCall } from "./ToolCall";
import type { Unknown } from "./Unknown";
/**
* Types of content blocks that can be returned by a model provider
*/
export type ContentBlockOutput =
| ({ type: "text" } & Text)
| ({ type: "tool_call" } & ToolCall)
| ({ type: "thought" } & Thought)
| ({ type: "unknown" } & Unknown);