forked from Rockachopa/Timmy-time-dashboard
41 lines
866 B
Python
41 lines
866 B
Python
|
|
"""Agent dispatch package — split from ``timmy.dispatcher``.
|
||
|
|
|
||
|
|
Re-exports all public (and commonly-tested private) names so that
|
||
|
|
``from timmy.dispatch import X`` works for every symbol that was
|
||
|
|
previously available in ``timmy.dispatcher``.
|
||
|
|
"""
|
||
|
|
|
||
|
|
from .assignment import (
|
||
|
|
DispatchResult,
|
||
|
|
_dispatch_local,
|
||
|
|
_dispatch_via_api,
|
||
|
|
_dispatch_via_gitea,
|
||
|
|
dispatch_task,
|
||
|
|
)
|
||
|
|
from .queue import wait_for_completion
|
||
|
|
from .routing import (
|
||
|
|
AGENT_REGISTRY,
|
||
|
|
AgentSpec,
|
||
|
|
AgentType,
|
||
|
|
DispatchStatus,
|
||
|
|
TaskType,
|
||
|
|
infer_task_type,
|
||
|
|
select_agent,
|
||
|
|
)
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
"AgentType",
|
||
|
|
"TaskType",
|
||
|
|
"DispatchStatus",
|
||
|
|
"AgentSpec",
|
||
|
|
"AGENT_REGISTRY",
|
||
|
|
"DispatchResult",
|
||
|
|
"select_agent",
|
||
|
|
"infer_task_type",
|
||
|
|
"dispatch_task",
|
||
|
|
"wait_for_completion",
|
||
|
|
"_dispatch_local",
|
||
|
|
"_dispatch_via_api",
|
||
|
|
"_dispatch_via_gitea",
|
||
|
|
]
|