Files
wehub-resource-sync e4dcfc49aa
Tests / Import Check (Python 3.13) (push) Has been cancelled
Tests / Import Check (Python 3.14) (push) Has been cancelled
Tests / Python Tests (Python 3.11) (push) Has been cancelled
Tests / Python Tests (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.14) (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled
Tests / Lint and Format (push) Has been cancelled
Tests / Web Node Tests (push) Has been cancelled
Tests / Import Check (Python 3.11) (push) Has been cancelled
Tests / Import Check (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.13) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:00:43 +08:00

30 lines
1009 B
Python

"""Turn-scoped chat-loop capabilities.
Each loop capability lives in its own subpackage under
:mod:`deeptutor.capabilities` (``solve``, ``mastery``). The chat loop imports
only the generic registry/protocol from this package; feature-specific prompts,
tools, and kwargs injection stay inside each capability subpackage.
A loop capability is "chat engine + decoupled capability logic": it reuses the
full chat tool surface and adds its own owned tools + a system prompt block on
top when active, instead of running a bespoke pipeline.
"""
from deeptutor.capabilities.protocol import KnowledgeCapability, LoopCapability, PromptBlock
from deeptutor.capabilities.registry import (
LOOP_CAPABILITIES,
active_loop_capabilities,
any_exclusive_capability_active,
capability_tool_owners,
)
__all__ = [
"LOOP_CAPABILITIES",
"KnowledgeCapability",
"LoopCapability",
"PromptBlock",
"active_loop_capabilities",
"any_exclusive_capability_active",
"capability_tool_owners",
]