Skip to content

Commit a7f2de6

Browse files
authored
Add files via upload
1 parent 59c5fec commit a7f2de6

2 files changed

Lines changed: 82 additions & 84 deletions

File tree

Clouds_Coder.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15134,7 +15134,7 @@ def set_runtime_selection(
1513415134
self.failed_selections = []
1513515135
self._apply_active_profile()
1513615136
self._ensure_active_profile_capabilities(force_probe=False)
15137-
cfg_auto_task_level_ceiling = extract_auto_task_level_ceiling_setting(config)
15137+
cfg_auto_task_level_ceiling = extract_auto_task_level_ceiling_setting(profile)
1513815138
if cfg_auto_task_level_ceiling is not None:
1513915139
self.auto_task_level_ceiling = normalize_auto_task_level_ceiling(cfg_auto_task_level_ceiling)
1514015140
self.updated_at = now_ts()
@@ -29187,7 +29187,6 @@ def _manager_progress_state(self, board: dict | None = None) -> str:
2918729187
def _blackboard_round_budget(self, board: dict | None = None) -> int:
2918829188
bb = board if isinstance(board, dict) else self._ensure_blackboard()
2918929189
profile = self._ensure_blackboard_task_profile(bb)
29190-
focus = self._blackboard_focus_identity(bb)
2919129190
max_budget = max(1, int(getattr(self, "max_agent_rounds", MAX_AGENT_ROUNDS) or MAX_AGENT_ROUNDS))
2919229191
try:
2919329192
budget = int(profile.get("round_budget", max_budget) or 0)
@@ -29442,6 +29441,7 @@ def _watchdog_context_near_limit(self) -> bool:
2944229441
def _watchdog_snapshot_payload(self, board: dict, reason: str, role: str, step: dict | None = None) -> str:
2944329442
bb = board if isinstance(board, dict) else self._ensure_blackboard()
2944429443
profile = self._ensure_blackboard_task_profile(bb)
29444+
focus = self._blackboard_focus_identity(bb)
2944529445
code_rows = sorted(
2944629446
list((bb.get("code_artifacts", {}) or {}).items()),
2944729447
key=lambda item: float((item[1] or {}).get("updated_at", 0.0) if isinstance(item[1], dict) else 0.0),
@@ -45099,8 +45099,6 @@ def _agent_worker(self):
4509945099
{"summary": "finish tool accepted; run paused and awaiting user instruction"},
4510045100
)
4510145101
else:
45102-
route = finish_result.get("route", {}) if isinstance(finish_result.get("route"), dict) else {}
45103-
instruction = trim(str(route.get("instruction", "") or "").strip(), 1200)
4510445102
single_finish_pending_after_step_check = finish_summary or " "
4510545103
retry_requested_this_round = True
4510645104
force_single_tool_rounds = max(force_single_tool_rounds, 2)

0 commit comments

Comments
 (0)