Teknium
fd3565deec
fix: remove dedicated user-facing output cap controls
2026-09-07 06:15:43 -07:00
Teknium
7a33369e81
simplify(compat): interrupt — drop _ThreadAwareEventProxy/_interrupt_event legacy alias, repoint 2 test files
...
No runtime consumer read the proxy (terminal_tool/environments call is_interrupted()/set_interrupt()
directly); its only users were tests patching tools.interrupt._interrupt_event, which had no effect on
the code under test. tools/terminal_tool.py's own re-export of the name is owned by another worker.
2026-09-03 14:00:59 -07:00
Teknium
c93ace77c2
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
2026-09-03 14:00:17 -07:00
Teknium
00a3cfe5c9
simplify(compat): hermes_cli split-module docstrings — drop 're-exported there' compat pointers (9 files, comments only)
2026-09-03 13:08:40 -07:00
Teknium
e83816a4d1
review-fix(comments): restore lost #NNNN rationale comments across non-test source (mechanical sweep, condensed, code unchanged)
...
For each issue anchor present in BASE 63279301bc non-test .py and absent on HEAD, the BASE comment/docstring block was re-attached at the HEAD location of the code it explained (matched by the distinctive code line / enclosing def). Sentences already covered by an existing HEAD comment were deduped; the issue number always survives. Insert-only: no code lines changed.
2026-09-03 09:44:26 -07:00
Teknium
dfa6bc0103
refactor(hermes_cli): custom/providers — fold isinstance guards and identity lookup chain
2026-09-02 23:03:08 -07:00
Teknium
c926874152
refactor(hermes_cli): backends/custom — fold candidate lists, message literals; drop always-None provider_name conditional
2026-09-02 22:50:07 -07:00
Teknium
7ab1754f6f
refactor(hermes_cli): runtime_provider/custom — _actual_url helper, pool-select fold, minor collapses
2026-09-02 22:43:10 -07:00
Teknium
465c6dd4e9
refactor(hermes_cli): provider cluster — hanging-indent repack of exploded call sites (AST-identical)
2026-09-02 22:39:49 -07:00
Teknium
951ee86ae6
refactor(hermes_cli): backends/custom — flatten entra branch, registry via origin, canonical_custom_identity tail via custom_provider_slug
2026-09-02 22:28:12 -07:00
Teknium
e789d79cfe
refactor(hermes_cli): provider cluster — shared _overlay_pdef, pool-select guard collapse, docstring compaction (WHY kept)
2026-09-02 22:14:12 -07:00
Teknium
6740d264f1
refactor(hermes_cli): provider cluster — drop intra-function separator blanks (whitespace-only)
2026-09-02 21:49:11 -07:00
Teknium
b69a423835
refactor(hermes_cli): provider cluster — fold/pack short multi-line statements (AST-identical)
2026-09-02 21:24:52 -07:00
Teknium
b8c7add3a9
refactor(hermes_cli): runtime_provider_custom/backends — shared _custom_runtime builder, azure key helper, compact docs
2026-09-02 21:21:10 -07:00
Teknium
a1066d0317
refactor(runtime_provider): split ladder into collaborators; extract custom-provider and backend modules
...
- resolve_runtime_provider 463 -> 95 LOC; rung order documented and preserved
(17,589-case fixture corpus, 0 diffs vs base incl. exceptions + log records)
- hermes_cli/runtime_provider_custom.py: providers:/custom_providers: lookup,
identity recovery, custom pools, named-custom runtime
- hermes_cli/runtime_provider_backends.py: azure-foundry, openrouter/bare-custom,
bedrock, external-process builders
- moved bodies resolve origin-internal names via the origin module at call time so
monkeypatch.setattr(runtime_provider, ...) in tests keeps applying
- _EXPLICIT_RESOLVERS dispatch for the explicit-creds path; shared
_finalize_base_url / _nous_min_key_ttl / _refresh_nous_pool_entry helpers
2026-09-02 15:50:50 -07:00