simplify(compat): config/runtime_provider/plugins/commands/secrets_cli/kanban — drop 96 re-exports (incl. PEP 562 facades) + 3 aliases (get_pre_tool_call_directive/_block_message, get_telegram_handler_factories), repoint 56 callers + 50 test files

This commit is contained in:
Teknium
2026-09-03 14:00:17 -07:00
parent b19d424aca
commit c93ace77c2
106 changed files with 371 additions and 510 deletions

View File

@@ -25,7 +25,8 @@ def _named_custom_provider_catalogs() -> list[tuple[str, str, list[tuple[str, st
discovery (some endpoints have no ``/models`` route). Slugs use the ``custom:<name>`` shape
``parse_model_input``/``resolve_runtime_provider`` resolve, so choice ids round-trip."""
try:
from hermes_cli.config import (get_compatible_custom_providers, is_provider_enabled, load_config)
from hermes_cli.config import load_config
from hermes_cli.config_providers import get_compatible_custom_providers, is_provider_enabled
from hermes_cli.model_switch import _declared_model_ids, _entry_models_discovered, _models_config_is_allowlist
from hermes_cli.model_switch_providers import _NativePickerModelList, _fetch_picker_live_models
from hermes_cli.model_switch_providers import _discover_flag