MCPcopy Create free account
hub / github.com/experdot/pointer / updateMessageTitle

Function updateMessageTitle

src/renderer/src/services/messagesService.ts:217–223  ·  view source on GitHub ↗
(
  pageId: string,
  messageId: string,
  title: string
)

Source from the content-addressed store, hash-verified

215 * 更新消息标题
216 */
217export async function updateMessageTitle(
218 pageId: string,
219 messageId: string,
220 title: string
221): Promise<void> {
222 await updateMessage(pageId, messageId, { title: title || undefined, updatedAt: Date.now() })
223}
224
225// ==================== Topic 操作 ====================
226

Callers 1

useChatTitlesFunction · 0.90

Calls 1

updateMessageFunction · 0.85

Tested by

no test coverage detected