mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-06-09 17:12:01 +00:00
20 lines
321 B
Python
20 lines
321 B
Python
"""Run executor contract."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Protocol
|
|
|
|
from ..domain import Run
|
|
|
|
|
|
class RunExecutor(Protocol):
|
|
"""Executes one run against the underlying agent or graph runtime."""
|
|
|
|
async def execute(self, run: Run) -> None:
|
|
pass
|
|
|
|
|
|
__all__ = [
|
|
"RunExecutor",
|
|
]
|