Skip to content

Automate browser based workflows with AI

remove update_debug_session (#3084)

Shuchang Zheng485dbb966215
diff --git a/skyvern/forge/sdk/db/client.py b/skyvern/forge/sdk/db/client.py
index b50a0af84..b220728ab 100644
--- a/skyvern/forge/sdk/db/client.py
+++ b/skyvern/forge/sdk/db/client.py
@@ -3486,28 +3486,6 @@ class AgentDB:
return DebugSession.model_validate(debug_session)
- async def update_debug_session(
- self,
- *,
- debug_session_id: str,
- browser_session_id: str | None = None,
- ) -> DebugSession:
- async with self.Session() as session:
- debug_session = (
- await session.scalars(select(DebugSessionModel).filter_by(debug_session_id=debug_session_id))
- ).first()
-
- if not debug_session:
- raise NotFoundError(f"Debug session {debug_session_id} not found")
-
- if browser_session_id:
- debug_session.browser_session_id = browser_session_id
-
- await session.commit()
- await session.refresh(debug_session)
-
- return DebugSession.model_validate(debug_session)
-
async def create_project(
self,
organization_id: str,