跳到主要内容

AiOpenOrCreateResult

Resolved thread state returned by ThreadsEngine.openOrCreate.

NameTypeDescriptionNotes
threadIdStringThe thread that was opened, or the one just created.[required]
titleStringEmpty string for existing threads — the engine doesn't re-fetch.[required]
priorMessagesListThe messages already in the thread - empty for a thread that was just created.[required]