Files
DeepTutor/deeptutor/services/session/turns/context_assembler.py
Bingxi Zhao (Frank) 6e6e56aedb release: v1.6.3
Ship the breaking front- and back-end runtime and route refactor,
learner and guardian flows, grounded reading, knowledge and parser
updates, and recoverable long-running streams.

Release notes: assets/releases/ver1-6-3.md
2026-09-02 04:09:11 +08:00

21 lines
556 B
Python

"""Context-builder boundary used by the turn executor."""
from __future__ import annotations
from typing import TYPE_CHECKING, Any
if TYPE_CHECKING:
from deeptutor.services.session.protocol import SessionStoreProtocol
class TurnContextAssembler:
"""Create the history/context assembler behind an injectable seam."""
if TYPE_CHECKING:
store: SessionStoreProtocol
def _create_context_builder(self) -> Any:
from deeptutor.services.session.context_builder import ContextBuilder
return ContextBuilder(self.store)