Occurs when a new thread is created.

interface ThreadStreamEvent {
    data: OpenAIClient.Beta.Threads.Thread;
    event: "thread.created";
}

Properties

Properties

Represents a thread that contains messages.

event: "thread.created"