thread.compact
Compacts the context.
Params: CompactParams
Section titled “Params: CompactParams”/** `thread.compact` params. */export type CompactParams = { instructions?: string | null; threadId: string;};Result: unknown
Section titled “Result: unknown”Any JSON value.