Skip to content

thread.compact

Compacts the context.

/** `thread.compact` params. */
export type CompactParams = {
instructions?: string | null;
threadId: string;
};

Any JSON value.