mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
feat: track cloned_from_snapshot_id for cloned chats
This commit is contained in:
parent
2ec7050603
commit
bc0fb3cb68
3 changed files with 36 additions and 28 deletions
|
|
@ -523,6 +523,7 @@ async def clone_from_snapshot(
|
|||
search_space_id=target_search_space_id,
|
||||
created_by_id=user.id,
|
||||
cloned_from_thread_id=snapshot.thread_id,
|
||||
cloned_from_snapshot_id=snapshot.id,
|
||||
cloned_at=datetime.now(UTC),
|
||||
needs_history_bootstrap=True,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue