Reference
Remy Reference/interface/chat.updateThread
?

chat.updateThread

Renames a thread by setting its title.
chat.updateThread(threadId, title) → Promise<void>

Sets a thread's title, overriding the one the platform generated. Use it when the user renames a conversation.

Parameters
threadId
string
RequiredThe thread to rename.
title
string
RequiredThe new title.
Rename
await chat.updateThread(threadId, 'Q3 planning');