(db: DatabaseAdapter, segmentId: number, summary: string)
| 543 | * Save summary text for a chat session. |
| 544 | */ |
| 545 | export function saveSegmentSummary(db: DatabaseAdapter, segmentId: number, summary: string): void { |
| 546 | db.prepare('UPDATE segment SET summary = ? WHERE id = ?').run(summary, segmentId) |
| 547 | } |
| 548 | |
| 549 | /** |
| 550 | * Update gap threshold in meta table. |
no test coverage detected