Delete agent-only runtime context helper
- SHA
5a3f6fa1264d8bf129305492f71afa8bd6190118- Parents
-
70a3eb2 - Tree
7e8b1bd
5a3f6fa
5a3f6fa1264d8bf129305492f71afa8bd619011870a3eb2
7e8b1bd| Status | File | + | - |
|---|---|---|---|
| M |
src/loader/agent/loop.py
|
0 | 7 |
src/loader/agent/loop.pymodified@@ -8,9 +8,7 @@ from pathlib import Path | ||
| 8 | 8 | |
| 9 | 9 | from ..context.project import ProjectContext, detect_project |
| 10 | 10 | from ..llm.base import LLMBackend, Message, Role |
| 11 | -from ..runtime.bootstrap import build_runtime_context | |
| 12 | 11 | from ..runtime.capabilities import resolve_backend_capability_profile |
| 13 | -from ..runtime.context import RuntimeContext | |
| 14 | 12 | from ..runtime.conversation import ConversationRuntime |
| 15 | 13 | from ..runtime.deliberation import ( |
| 16 | 14 | DECOMPOSITION_PROMPT, |
@@ -343,11 +341,6 @@ class Agent: | ||
| 343 | 341 | |
| 344 | 342 | return self._drain_steering_queue() |
| 345 | 343 | |
| 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 | - | |
| 351 | 344 | def _get_few_shot_examples(self) -> list[Message]: |
| 352 | 345 | """Get few-shot examples demonstrating proper tool use.""" |
| 353 | 346 | if self.use_react: |