Passing profile fallback_providers config to agents (oneshot, kanban)
Cluster 23362 · hermes cli. Data as of
Nothing open on GitHub. Fix merged in #28409 on 19 May 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #28409. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
The members concern fallback_providers from profile config not reaching agents: one issue reports kanban worker agents not inheriting it, and two pull requests with near-identical titles propose passing it to AIAgent in oneshot. Whether the kanban and oneshot cases share a cause is not established by the titles alone.
Open issues0
Open PRs0
Fixes on record
-
#28409 fix(oneshot): pass fallback_providers from profile config to AIAgent (#23368)
files:
hermes_cli/oneshot.pyShow the diff
-
hermes_cli/oneshot.py@@ -301,6 +301,14 @@ def _run_agent( toolsets_list = sorted(_get_platform_tools(cfg, "cli")) session_db = _create_session_db_for_oneshot() + # Read fallback chain from profile config — supports both the new list + # format (fallback_providers) and the legacy single-dict (fallback_model). + # Mirrors the same normalization in cli.py so oneshot workers (e.g. kanban + # workers spawned via `hermes -p <profile> chat -q ...`) honour the + # profile's fallback chain just like interactive sessions do. + _fb = cfg.get("fallback_providers") or cfg.get("fallback_model") or [] + if isinstance(_fb, dict): + _fb = [_fb] if _fb.get("provider") and _fb.get("model") else [] agent = AIAgent( api_key=runtime.get("api_key"), @@ -313,6 +321,7 @@ def _run_agent( platform="cli", session_db=session_db, credential_pool=runtime.get("credential_pool"), + fallback_model=_fb or None, # Interactive callbacks are intentionally NOT wired beyond this # one. In oneshot mode there's no user sitting at a terminal: # - clarify → returns a synthetic "pick a default" instruction
-
1 PR closed without merging
From the close comments: merged via another change 1
-
#23368 fix(oneshot): pass fallback_providers from profile config to AIAgent · merged via another change →
#28409
Closed issues · 1
- Closed#23362Profile config fallback_providers not inherited by kanban worker agents
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- hermes cli
- Merged PRs
- #28409
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 19 May 2026