Message.ts
Language TypeScript825 B11 lines
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.import type { AttachmentMeta } from "./AttachmentMeta";import type { Prices } from "./Prices";import type { Usage } from "./Usage";import type { UsageSource } from "./UsageSource";export type Message = { id: string, conversation_id: string, role: string, content: string, reasoning: string | null,/*** `complete`, `streaming`, `cancelled` or `error`*/status: string, error_kind: string | null, error_message: string | null, provider_id: string | null, model_id: string | null, usage: Usage, usage_source: UsageSource, prices: Prices | null, cost_nanousd: number, finish_reason: string | null, ttft_ms: number | null, duration_ms: number | null, created_at: number, attachments: Array<AttachmentMeta>, };