15 lines
587 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { InferenceResponseToolCall } from "./InferenceResponseToolCall";
import type { Text } from "./Text";
import type { Thought } from "./Thought";
import type { Unknown } from "./Unknown";
/**
* Defines the types of content block that can come from a `chat` function
*/
export type ContentBlockChatOutput =
| ({ type: "text" } & Text)
| ({ type: "tool_call" } & InferenceResponseToolCall)
| ({ type: "thought" } & Thought)
| ({ type: "unknown" } & Unknown);