feat: add prompt-first batches and pausable task guidance
This commit is contained in:
1 parent
cec9898e4c
commit
057f0c3050
44 files changed
+1080
-191
No files matched your search
@@ -372,6 +372,20 @@ class StorageManager:
|
||||
)
|
||||
conn.commit()
|
||||
|
||||
def discard_session_recordings(self, session_id: str) -> None:
|
||||
"""Remove references to temporary analysis-only captures after the run."""
|
||||
with self._get_connection() as conn:
|
||||
conn.execute(
|
||||
"UPDATE video_recordings SET local_video_path = NULL, status = 'unavailable' "
|
||||
"WHERE session_id = ?",
|
||||
(session_id,),
|
||||
)
|
||||
conn.execute(
|
||||
"UPDATE sessions SET video_filepath = NULL WHERE session_id = ?",
|
||||
(session_id,),
|
||||
)
|
||||
conn.commit()
|
||||
|
||||
def update_session_video_path(self, session_id: UUID, video_path: str):
|
||||
"""Update video filepath across session and video_recordings tables."""
|
||||
with self._get_connection() as conn:
|
||||
|
||||
Reference in new issue
Block a user