tenseleyflow/loader / 5a3f6fa

Browse files

Delete agent-only runtime context helper

Authored by espadonne
SHA
5a3f6fa1264d8bf129305492f71afa8bd6190118
Parents
70a3eb2
Tree
7e8b1bd

1 changed file

StatusFile+-
M src/loader/agent/loop.py 0 7
src/loader/agent/loop.pymodified
@@ -8,9 +8,7 @@ from pathlib import Path
88
 
99
 from ..context.project import ProjectContext, detect_project
1010
 from ..llm.base import LLMBackend, Message, Role
11
-from ..runtime.bootstrap import build_runtime_context
1211
 from ..runtime.capabilities import resolve_backend_capability_profile
13
-from ..runtime.context import RuntimeContext
1412
 from ..runtime.conversation import ConversationRuntime
1513
 from ..runtime.deliberation import (
1614
     DECOMPOSITION_PROMPT,
@@ -343,11 +341,6 @@ class Agent:
343341
 
344342
         return self._drain_steering_queue()
345343
 
346
-    def _build_runtime_context(self) -> RuntimeContext:
347
-        """Build a typed runtime context over the current agent state."""
348
-
349
-        return build_runtime_context(self)
350
-
351344
     def _get_few_shot_examples(self) -> list[Message]:
352345
         """Get few-shot examples demonstrating proper tool use."""
353346
         if self.use_react: