MCPcopy Create free account
hub / github.com/RightNow-AI/autokernel / _transition_to

Function _transition_to

orchestrate.py:460–465  ·  view source on GitHub ↗

Move the orchestrator to a new kernel index.

(state: dict, next_idx: int)

Source from the content-addressed store, hash-verified

458
459
460def _transition_to(state: dict, next_idx: int) -> None:
461 """Move the orchestrator to a new kernel index."""
462 kernels = state["kernels"]
463 kernels[next_idx]["status"] = STATUS_OPTIMIZING
464 state["current_kernel_idx"] = next_idx
465 state["current_kernel_file"] = kernels[next_idx]["file"]
466
467
468def _print_next_decision(state: dict, kernel: dict, reason: str) -> None:

Callers 1

cmd_nextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected