hermes - 💡(How to fix) Fix [TASK] Implement Per-Call Provider and Model Overrides for delegate_task [2 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Implement a two-pipe system for delegate_task to allow the main model to discover authenticated providers and reasoning effort levels (Discovery Pipe) and then spawn subagents with these specific parameters (Action Pipe).

Root Cause

Implement a two-pipe system for delegate_task to allow the main model to discover authenticated providers and reasoning effort levels (Discovery Pipe) and then spawn subagents with these specific parameters (Action Pipe).

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

Description

Implement a two-pipe system for delegate_task to allow the main model to discover authenticated providers and reasoning effort levels (Discovery Pipe) and then spawn subagents with these specific parameters (Action Pipe).

Implementation Plan

Reference: .hermes/plans/per-call-provider-model-delegation.md

Key Deliverables:

  1. Discovery Pipe: Implement build_delegation_capabilities_prompt() and inject it into stable_parts of the system prompt in run_agent.py.
  2. Action Pipe:
    • Update DELEGATE_TASK_SCHEMA to support provider, model, and reasoning_effort.
    • Implement resolution chain: per-call $\rightarrow$ config $\rightarrow$ parent.
    • Move credential resolution inside the batch loop to support heterogeneous tasks.
    • Fix 'Provider-only override' trap (resolve default model for target provider).
  3. Verification: Implement 24 test cases covering priority chain and edge cases.

Technical Constraints

  • Priority: Per-call argument > delegation.* config > laurent inheritance.
  • Performance: Discovery guidance must be in stable_parts to maintain prompt cache efficiency.
  • Safety: Maintain fix for bug #20558 (api_mode not inherited when provider changes).

Labels

  • in-progress, delegation, staff-sde

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [TASK] Implement Per-Call Provider and Model Overrides for delegate_task [2 pull requests]