refactor(cli-main): split cmd_chat (first-run guard, --query-file, passthrough table), tighten provider/container/cost-guard helpers, dispatch tables for completion/backup; compact comments and docstrings (every WHY kept); repoint xai test to the flow's real module

This commit is contained in:
Teknium
2026-09-02 21:27:17 -07:00
parent 1f2000d959
commit 2f86ce2eb0
2 changed files with 418 additions and 829 deletions
+417 -828
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -66,7 +66,7 @@ def test_xai_model_flow_cancel_skips_reauth(monkeypatch):
def test_auth_credentials_choice_falls_back_to_numbered_prompt(monkeypatch):
from hermes_cli import main as main_mod
from hermes_cli import model_setup_flows_common as main_mod
monkeypatch.setattr(
"hermes_cli.setup._curses_prompt_choice",