mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-08-16 09:49:10 +00:00
* fix(runs): terminate orphaned streams after lease recovery * fix(runs): include recovered ids in callback warnings * fix(runs): harden orphan recovery lifecycle
20 lines
592 B
Python
20 lines
592 B
Python
"""Run lifecycle management for LangGraph Platform API compatibility."""
|
|
|
|
from .manager import ORPHAN_RECOVERY_STOP_REASON, STARTUP_ORPHAN_RECOVERY_ERROR, CancelOutcome, ConflictError, RunManager, RunRecord, UnsupportedStrategyError
|
|
from .schemas import DisconnectMode, RunStatus
|
|
from .worker import RunContext, run_agent
|
|
|
|
__all__ = [
|
|
"CancelOutcome",
|
|
"ConflictError",
|
|
"DisconnectMode",
|
|
"ORPHAN_RECOVERY_STOP_REASON",
|
|
"RunContext",
|
|
"RunManager",
|
|
"RunRecord",
|
|
"RunStatus",
|
|
"STARTUP_ORPHAN_RECOVERY_ERROR",
|
|
"UnsupportedStrategyError",
|
|
"run_agent",
|
|
]
|