Import AITURK IDE 1.0.0-beta.1 from Hermes 63279301; preserve MIT license

This commit is contained in:
2026-09-05 13:26:46 +03:00
commit 03634b1ca3
11340 changed files with 3442369 additions and 0 deletions
@@ -0,0 +1,25 @@
from hermes_cli.main import _prompt_reasoning_effort_selection
def test_reasoning_menu_orders_minimal_before_low(monkeypatch):
captured = {}
def _fake_radiolist(title, items, *, selected=0, cancel_returns=None, description=None):
captured["items"] = items
captured["selected"] = selected
return selected # pick the pre-selected (current) entry
monkeypatch.setattr("hermes_cli.curses_ui.curses_radiolist", _fake_radiolist)
selected = _prompt_reasoning_effort_selection(
["low", "minimal", "medium", "high"],
current_effort="medium",
)
assert selected == "medium"
assert captured["items"][:4] == [
"minimal",
"low",
"medium ← currently in use",
"high",
]