Method
updateAIChatTitle
(aiChatId: string, title: string)
Source from the content-addressed store, hash-verified
| 569 | } |
| 570 | |
| 571 | updateAIChatTitle(aiChatId: string, title: string): boolean { |
| 572 | const db = this.getDb() |
| 573 | const now = Math.floor(Date.now() / 1000) |
| 574 | const result = db.prepare('UPDATE ai_chat SET title = ?, updated_at = ? WHERE id = ?').run(title, now, aiChatId) |
| 575 | return result.changes > 0 |
| 576 | } |
| 577 | |
| 578 | deleteAIChat(aiChatId: string): boolean { |
| 579 | const db = this.getDb() |
Callers
nothing calls this directly
Tested by
no test coverage detected