MCPcopy Create free account
hub / github.com/InternScience/InternAgent / resume_session

Method resume_session

internagent/mas/interface.py:240–258  ·  view source on GitHub ↗

Resume a paused session. Args: session_id: Session ID to resume Returns: Updated session status Raises: RuntimeError: If system is not ready

(self, session_id: str)

Source from the content-addressed store, hash-verified

238 return await self.get_session_status(session_id)
239
240 async def resume_session(self, session_id: str) -> Dict[str, Any]:
241 """
242 Resume a paused session.
243
244 Args:
245 session_id: Session ID to resume
246
247 Returns:
248 Updated session status
249
250 Raises:
251 RuntimeError: If system is not ready
252 """
253 self._ensure_system_ready()
254
255 await self.orchestration_agent.run_session(session_id)
256 self._update_session_tracking(session_id)
257
258 return await self.get_session_status(session_id)
259
260 async def get_session_status(self, session_id: str) -> Dict[str, Any]:
261 """

Callers 1

add_feedbackMethod · 0.95

Calls 4

_ensure_system_readyMethod · 0.95
get_session_statusMethod · 0.95
run_sessionMethod · 0.45

Tested by

no test coverage detected