self host debug support part 2 - add vnc support flag in debug session model (#3419)

This commit is contained in:
LawyZheng
2025-09-12 21:16:48 +08:00
committed by GitHub
parent a05987768a
commit f65bae5662
5 changed files with 40 additions and 0 deletions

View File

@@ -3675,6 +3675,7 @@ class AgentDB:
organization_id: str,
user_id: str,
workflow_permanent_id: str,
vnc_streaming_supported: bool,
) -> DebugSession:
async with self.Session() as session:
debug_session = DebugSessionModel(
@@ -3682,6 +3683,7 @@ class AgentDB:
workflow_permanent_id=workflow_permanent_id,
user_id=user_id,
browser_session_id=browser_session_id,
vnc_streaming_supported=vnc_streaming_supported,
status="created",
)