railyard/apps/relay/crates/tensorzero-node/lib/bindings/StoredInputMessageContent.ts

20 lines
792 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { RawText } from "./RawText";
import type { StoredFile } from "./StoredFile";
import type { Template } from "./Template";
import type { Text } from "./Text";
import type { Thought } from "./Thought";
import type { ToolCall } from "./ToolCall";
import type { ToolResult } from "./ToolResult";
import type { Unknown } from "./Unknown";
export type StoredInputMessageContent =
| ({ type: "text" } & Text)
| ({ type: "template" } & Template)
| ({ type: "tool_call" } & ToolCall)
| ({ type: "tool_result" } & ToolResult)
| ({ type: "raw_text" } & RawText)
| ({ type: "thought" } & Thought)
| ({ type: "file" } & StoredFile)
| ({ type: "unknown" } & Unknown);